setVehicleInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETVEHICLEINIT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETVEHICLEINIT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETVEHICLEINIT]]


| arma |= Game name


<h2 style="color:#000066">'''''vehicle'' setVehicleInit ''statement'''''</h2>
|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
____________________________________________________________________________________________


'''Operand types:'''
| vehicle '''setVehicleInit''' statement |= Syntax


'''vehicle:''' [[Object]]
|p1= vehicle: [[Object]] |= Parameter 1


'''statement:''' [[String]]
|p2= statement: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>soldier3 setVehicleInit "this allowfleeing 0"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 2.33 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Execute statement attached to vehicle.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETVEHICLEINIT]]
This statement is also propagated over network in MP games, it can be processed by using [[processInitCommands]].
[[Category:Scripting Commands OFP Elite |SETVEHICLEINIT]]
 
[[Category:Scripting Commands ArmA|SETVEHICLEINIT]]
 
'''Example:'''
 
soldier3 '''setVehicleInit''' "this allowfleeing 0"

Revision as of 00:36, 2 August 2006

-wrong parameter ("Arma") defined!-2.33
Hover & click on the images for description

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

Notes

Bottom Section