setVehicleInit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 30: | Line 30: | ||
<dl class="command_description"> | <dl class="command_description"> | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate"></dd> | |||
<dt class="note">'''[[User:Crowe|Crowe]]'''</dt> | |||
<dd class="note">Setvehicleinit statements will be executed in the order of the unit creation time. This means, the statements of units who have been placed in the editor first, will be executed first. | |||
</dd> | |||
<!-- Note Section END --> | <!-- Note Section END --> |
Revision as of 03:11, 20 March 2008
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
Notes
- Crowe
- Setvehicleinit statements will be executed in the order of the unit creation time. This means, the statements of units who have been placed in the editor first, will be executed first.