forceAtPositionRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - " |r1=[[" to " |r1= [[")
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{RV|type=command


{{Command|Comments=
|game1= tkoh
____________________________________________________________________________________________
|version1= 1.00


| TKOH |= Game name
|gr1= RTD
|game2= arma3
|version2=1.34


|1.00|= Game version
|descr= Adds force generator to world.
| game2= arma 3 |=
{{Feature|afm}}
|version2=1.34|=


____________________________________________________________________________________________
|s1= [[forceAtPositionRTD]] position


| Adds force generator to world.
|p1= position: [[Array]] - Position where to force generator is created.
{{Feature AFM}} |DESCRIPTION=
____________________________________________________________________________________________


| [[forceAtPositionRTD]] position|SYNTAX=
|r1= [[Number]] - Force index


|p1= position: [[Array]] - Position where to force generator is created. |PARAMETER1=
|x1= <code>[[forceAtPositionRTD]];</code>
 
| [[Number]] - Force index |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[forceAtPositionRTD]];</code> |=
 
|[[clearForcesRTD]]|SEEALSO=


|seealso= [[clearForcesRTD]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: RTD|{{uc:{{PAGENAME}}}}]]

Revision as of 23:34, 7 August 2021

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