getShotParents: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 13: Line 13:
|x1= <code>_shotParents = [[getShotParents]] myProjectile;</code>
|x1= <code>_shotParents = [[getShotParents]] myProjectile;</code>
|x2= <code>batmobile [[addEventHandler]] ["Fired", {[[systemChat]] [[str]] [[getShotParents]] (_this [[select]] 6)}];</code>
|x2= <code>batmobile [[addEventHandler]] ["Fired", {[[systemChat]] [[str]] [[getShotParents]] (_this [[select]] 6)}];</code>
| [[setShotParents]]
|seealso= [[setShotParents]]
}}
}}



Revision as of 23:48, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Weapons

Syntax

Syntax:
Syntax needed
Parameters:
projectile: Object - the actual projectile shot
Return Value:
Return value needed

Examples

Example 1:
_shotParents = getShotParents myProjectile;
Example 2:
batmobile addEventHandler ["Fired", {systemChat str getShotParents (_this select 6)}];

Additional Information

See also:
setShotParents

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