setVehicleInit: Difference between revisions
Jump to navigation
Jump to search
(more info) |
(multiplayer JIP notes) |
||
Line 24: | Line 24: | ||
| [[processInitCommands]] |= See also | | [[processInitCommands]] |= See also | ||
| mp=The statement will be sent to clients connecting after the command has been executed. |= | | mp=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. |= | ||
}} | }} | ||
Revision as of 19:56, 2 August 2007
Description
- Description:
- Attach a statement to a vehicle. 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:
- vehicle 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