forceAtPositionRTD: Difference between revisions

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


| TKOH |Game name=
|game1= tkoh
|version1= 1.00


|1.00|Game version=
|gr1= RTD
| game2= arma 3 |Game2name=
|game2= arma3
|version2=1.34|Game 2 Version=
|version2=1.34


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


| Adds force generator to world.
|s1= [[forceAtPositionRTD]] position
{{Feature AFM}} |DESCRIPTION=
____________________________________________________________________________________________


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


|p1= position: [[Array]] - Position where to force generator is created. |PARAMETER1=
|r1= [[Number]] - Force index


| [[Number]] - Force index |RETURNVALUE=
|x1= <code>[[forceAtPositionRTD]];</code>
____________________________________________________________________________________________
 
|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