forceAtPositionRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 17: Line 17:
|r1= [[Number]] - Force index
|r1= [[Number]] - Force index


|x1= <code>forceAtPositionRTD;</code>
|x1= <sqf>forceAtPositionRTD;</sqf>


|seealso= [[clearForcesRTD]]
|seealso= [[clearForcesRTD]]
}}
}}

Revision as of 10:21, 13 May 2022

Hover & click on the images for description

Description

Description:
Adds force generator to world.
Advanced Helicopter Flight Model
For this command to have any effect, the Advanced Flight Model (AFM) has to be enabled. AFM status can be checked with difficultyEnabledRTD.
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;

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