setVehicleInit: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| arma |= Game name | |||
|2.33|= Game version | |||
____________________________________________________________________________________________ | |||
| Execute statement attached to vehicle. This statement is also propagated over network in MP games, it can be processed by using [[processInitCommands]]. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | vehicle '''setVehicleInit''' statement |= Syntax | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |||
|p2= statement: [[String]] |= Parameter 2 | |||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>soldier3 setVehicleInit "this allowfleeing 0"</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|SETVEHICLEINIT]] | |||
[[Category:Scripting Commands OFP Elite |SETVEHICLEINIT]] | |||
[[Category:Scripting Commands ArmA|SETVEHICLEINIT]] | |||
Revision as of 23:36, 1 August 2006
Description
- Description:
- Execute statement attached to vehicle. This statement is also propagated over network in MP games, it can be processed by using processInitCommands.
- 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:
- 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