forceAtPositionRTD: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2") |
Pabstmirror (talk | contribs) m (fix example) |
||
Line 17: | Line 17: | ||
|r1= [[Number]] - force index | |r1= [[Number]] - force index | ||
|x1= <sqf>forceAtPositionRTD;</sqf> | |x1= <sqf>forceAtPositionRTD [0,0,0];</sqf> | ||
|seealso= [[clearForcesRTD]] | |seealso= [[clearForcesRTD]] | ||
}} | }} |
Latest revision as of 23:42, 7 October 2025
Description
- Description:
- Adds force generator to world.
- Groups:
- RTD
Syntax
- Syntax:
- forceAtPositionRTD position
- Parameters:
- position: Array - position where to force generator is created.
- Return Value:
- Number - force index
Examples
- Example 1:
- forceAtPositionRTD [0,0,0];
Additional Information
- See also:
- clearForcesRTD
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