setShotParents: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *Exec *= * " to " ") |
||
Line 4: | Line 4: | ||
|arg=global | |arg=global | ||
|eff=global | |eff=global | ||
|serverExec= server | |serverExec= server | ||
|gr1= Weapons | |gr1= Weapons |
Revision as of 18:53, 29 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