vehicle_enter(name, vehicle_name[, seat[, block[, force_hijack_success[, block_until_visual[, override_action]]]]]) |
|
Parameters: |
name | | (string) name of the character |
vehicle_name | | (string) name of the vehicle |
seat | | (integer, optional) index of the seat to enter (defaults to 0, the driver's seat) |
block | | (boolean, optional) set to true to block until vehicle entry is finished (defaults to true) |
force_hijack_success | | (boolean, optional) set to true to force any hijacks to automatically succeed (defaults to false) |
block_until_visual | | (boolean, optional) if blocking, only block until the human is visualy in vehicle instead of waiting until the enter is completely finished (defaults to false) |
override_action | | (string, optional) action to play instead of standard vehicle entry actions |
|
Returns: |
none |
|
Description: |
Make a character enter vehicle. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:16 |