action: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Fixed params) |
||
Line 14: | Line 14: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| unit '''action''' action |= Syntax | | unit '''action''' [action,object] |= Syntax | ||
|p1= unit: [[Object]] |= Parameter 1 | |p1= unit: [[Object]] |= Parameter 1 | ||
|p2= action: [[ | |p2= action: [[String]] |= Parameter 2 | ||
|p3= object: [[Object]] - optional value; depends on chosen action |= Parameter 3 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value |
Revision as of 09:05, 15 September 2006
Description
- Description:
- Make a unit to perform an action. Use the List of Actions for reference about the available actions and their syntax.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit action [action,object]
- Parameters:
- unit: Object
- action: String
- object: Object - optional value; depends on chosen action
- Return Value:
- Nothing
Examples
- Example 1:
soldier action ["eject", vehicle soldier]
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Global Effect
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Unit Control