Shared vehicle user variables - inkoalawetrust/Military-Vehicles-Pack GitHub Wiki
This is a list of all the user variables shared between all vehicles. If any of them act differently or don't work on a vehicle-by-vehicle basis, it'll be specified on the vehicles' own page.
General user variables
These variables are used by both NPC and prop vehicles.
- User_DefaultOrder: The order the vehicle follows by default when spawned. Possible string values are "Follow", "Wander", and "Stay"/"Stand".
- User_RetreatDistance: How much distance the vehicle keeps from enemies. Default is 768 map units unless otherwise specified.
- User_ChaseTime: How long the vehicles' target can stay out of sight before it gives up chasing it. Default is 525 tics.
- User_NoHeadlights: If enabled, the vehicle will not turn on its' headlights when it's in a really dark sector.
Prop user variables
These variables are shared by all prop vehicles.
- User_Destructible: If on, the prop will be able to receive damage and be destroyed just like it's manned NPC counterpart can.
- User_IdleSound: Should the prop play its idle engine sound ?
- User_NoHeadlights: This variable works differently for props, since they don't turn on their headlights on their own, they will be on by default for prop vehicles. So you need to turn this variable ON for vehicle props, to turn off their headlights.