setShotParents: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *Exec *= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
||
Line 24: | Line 24: | ||
<!-- END Note Section --> | <!-- END Note Section --> | ||
</dl> | </dl> | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] |
Revision as of 20:45, 31 January 2021
Description
- Description:
- Description needed
- Groups:
- Weapons
Syntax
- Syntax:
- Syntax needed
- Parameters:
- projectile: Object - the actual projectile shot
- [vehicle, instigator]: Array
- vehicle: Object - Vehicle shooting projectile
- instigator: Object - Person pulling the trigger
- Return Value:
- Return value needed
Examples
- Example 1:
myProjectile setShotParents [vehicle bob, bob];
- Example 2:
tank addEventHandler ["Fired", {_this select 6 setShotParents [tank, commander tank]}];
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note