forceAtPositionRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *P([a-gi-z ])" to "$1 - p$2")
 
(37 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= <sqf>forceAtPositionRTD;</sqf>
 
| [[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}}}}]]

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