forceGeneratorRTD: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *I([a-z ])" to "$1 - i$2")
 
(35 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. {{Feature|afm}}
| game2= arma 3 |=
|version2=1.34|=


____________________________________________________________________________________________
|s1= [[forceGeneratorRTD]] index


| Adds force generator to world.
|p1= index: [[Number]] - index
{{Feature AFM}} |DESCRIPTION=
____________________________________________________________________________________________


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


|p1= index: [[Number]] - Index|PARAMETER1=
|x1= <sqf>forceGeneratorRTD 2;</sqf>
 
| [[Number]] - Force index |RETURNVALUE=
____________________________________________________________________________________________
 
|x1= <code>[[forceGeneratorRTD]] 2</code> |=
 
|[[clearForcesRTD]] [[forceAtPositionRTD]]|SEEALSO=


|seealso= [[clearForcesRTD]] [[forceAtPositionRTD]]
}}
}}
<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 16:33, 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:
forceGeneratorRTD index
Parameters:
index: Number - index
Return Value:
Number - force index

Examples

Example 1:
forceGeneratorRTD 2;

Additional Information

See also:
clearForcesRTD forceAtPositionRTD

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