switchAction: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(populated with empty template)
(populated)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| (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. Example:,soldierOne switchAction "SitDown",  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''(command)''' |= Syntax
| soldier '''switchAction''' action |= Syntax


|p1= |= PARAMETER1  
|p1= soldier:  -  |= PARAMETER1  


|p2= |= PARAMETER2  
|p2= Object,action:  -  |= PARAMETER2  


|p3= |= PARAMETER3  
|p3= |= PARAMETER3  


| |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  




|x1= <code>(example)</code>|= EXAMPLE1  
|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  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 18:04, 4 June 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. Example:,soldierOne switchAction "SitDown",
Groups:
Uncategorised

Syntax

Syntax:
soldier switchAction action
Parameters:
soldier: -
Object,action: -
Return Value:
Nothing

Examples

Example 1:
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"

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