scudState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (moved notes)
m (removed non-working link in example 1)
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? scudState scudOne >= 3 : [[hint]] "RUN!!!!"</pre> |= Example 1
|x1= <pre>? scudState scudOne >= 3 : hint "RUN!!!!"</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:45, 2 August 2006

Hover & click on the images for description

Description

Description:
Current state of given Scud launcher. Following states are recognized: Note: Non-integral values are used to indicate transition between states.
Groups:
Uncategorised

Syntax

Syntax:
scudState scudname
Parameters:
scudname: Object
Return Value:
Number

Examples

Example 1:
? scudState scudOne >= 3 : hint "RUN!!!!"

Additional Information

See also:
See also needed

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

Notes

Note that this command does not make the scud do anything. It simply checks to see what state the scud is in. To make the scud be upright or launch you need to use an action. e.g. scud1 action ["scud launch"]

Bottom Section