vehicle_component_detach(vehicle_name, component_name[, create_debris[, use_impact_sound[, delay_before_impact_sound[, shatter_glass]]]]) |
|
Parameters: |
vehicle_name | | (string) name of the vehicle |
component_name | | (string) name of the vehicle component to detach |
create_debris | | (boolean, optional) set to true if the component should create a debris object (defaults to true) |
use_impact_sound | | (boolean, optional) set to true if an impact sound for the component should be played (defaults to true) |
delay_before_impact_sound | | (int, optional) amount of time to delay the impact sound (defaults to 0) |
shatter_glass | | (boolean, optional) set to true if the child glass components should be shatters (defaults to false) |
|
Returns: |
none |
|
Description: |
Detaches a specific component from a vehicle |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |