forceAtPositionRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| TKOH
|game1= tkoh
|version1= 1.00


|gr1= RTD
|gr1= RTD
 
|game2= arma3
|1.00
| game2= arma 3
|version2=1.34
|version2=1.34


| Adds force generator to world.
|descr= Adds force generator to world.
{{Feature|afm}}
{{Feature|afm}}


| [[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


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


|seealso= [[clearForcesRTD]]
|seealso= [[clearForcesRTD]]
}}
}}
{{GameCategory|tkoh|Scripting Commands}}

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