forceAtPositionRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
Line 13: Line 13:
|s1= [[forceAtPositionRTD]] position
|s1= [[forceAtPositionRTD]] position


|p1= position: [[Array]] - Position where to force generator is created.
|p1= position: [[Array]] - position where to force generator is created.


|r1= [[Number]] - force index
|r1= [[Number]] - force index

Latest revision as of 15:45, 8 November 2023

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