setVehicleInit: Difference between revisions
Jump to navigation
Jump to search
(multiplayer JIP notes) |
mNo edit summary |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Attach a statement to a | | Attach a statement to a unit. The statement is propagated over the network in MP games, it can be executed by invoking [[processInitCommands]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Object#Unit|Unit]] '''setVehicleInit''' "statement" |= Syntax | ||
|p1= | |p1= [[Object#Vehicle|Vehicle]]: [[Object]] |= Parameter 1 | ||
|p2= statement: [[String]] |= Parameter 2 | |p2= statement: [[String]] |= Parameter 2 | ||
Line 20: | Line 20: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre> | |x1= <pre>_soldier3 setVehicleInit "this allowfleeing 0"</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 12:22, 31 August 2007
Description
- Description:
- Attach a statement to a unit. The statement is propagated over the network in MP games, it can be executed by invoking processInitCommands.
- Multiplayer:
- The statement will be sent to clients connecting after the command has been executed. Note that the statement will be executed automatically by JIP clients before Init.sqs or its SQF counterpart has been executed.
- Groups:
- Uncategorised
Syntax
- Syntax:
- Unit setVehicleInit "statement"
- Parameters:
- Vehicle: Object
- statement: String
- Return Value:
- Nothing
Examples
- Example 1:
_soldier3 setVehicleInit "this allowfleeing 0"
Additional Information
- See also:
- processInitCommands
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