1506 {
1507 switch (animSource)
1508 {
1509 case "doorsdriver":
1510 case "doorscodriver":
1511 case "doorscargo1":
1512 case "doorscargo2":
1513 case "doorshood":
1514 case "doorstrunk":
1516 if (phase == 0)
1518 else
1520
1521 if (sound)
1523
1524 break;
1525 }
1526 }
string m_CarDoorCloseSound
string m_CarDoorOpenSound
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Wrapper class for managing sound through SEffectManager.
static EffectSound PlaySound(string sound_set, vector position, float play_fade_in=0, float stop_fade_out=0, bool loop=false)
Create and play an EffectSound.
Manager class for managing Effect (EffectParticle, EffectSound)
class JsonUndergroundAreaTriggerData GetPosition