switchAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| When used on a person,the given action is started immediately (there,is no transition). Use switchmove "" to switch back to the default,movement if there is no transition back,otherwise the person may be,stuck. Example:,soldierOne switchAction "SitDown",  |= Description
| When used on a person, the given action is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| soldier '''switchAction''' action |= Syntax
| soldier '''switchAction''' action |= Syntax


|p1= soldier: |= PARAMETER1  
|p1= soldier: [[Object]] |= PARAMETER1  


|p2= Object,action: |= PARAMETER2  
|p2= action: [[String]] |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= |= PARAMETER3  
Line 21: Line 21:




|x1= <code>ion:,When used on a person,the given action is started immediately (there,is no transition). Use switchmove "" to switch back to the default,movement if there is no transition back,otherwise the person may be,stuck. Example:,soldierOne switchAction "SitDown"</code>|= EXAMPLE1  
|x1= <code>soldierOne switchAction "SitDown"</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 03:13, 15 July 2009

Hover & click on the images for description

Description

Description:
When used on a person, the given action is started immediately (there is no transition). Use switchmove "" to switch back to the default movement if there is no transition back, otherwise the person may be stuck.
Groups:
Uncategorised

Syntax

Syntax:
soldier switchAction action
Parameters:
soldier: Object
action: String
Return Value:
Nothing

Examples

Example 1:
soldierOne switchAction "SitDown"

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

Bottom Section