Add Object A2 sensor with light and sound SFX

Added sensor to mission.sqm to trigger Sumrak's custom lighting and sound effects when entering Object A2. The config position in mission.sqm doesn't want to work correctly with the distance command so I used the original position from Sumrak's file. The trigger activates when you get down the ladder about 2 meters.
This commit is contained in:
worldwidesorrow
2023-09-15 14:09:18 -05:00
parent 55ffa33628
commit d9c4075143
6 changed files with 81 additions and 3 deletions

View File

@@ -319,7 +319,7 @@ class Mission
class Sensors
{
items=4;
items=5;
#define TRGDEF a=100;b=100;activationBy="WEST";repeating=1;interruptable=1;age="UNKNOWN";class Effects{};
class Item0
{
@@ -356,7 +356,16 @@ class Mission
expCond="(player distance zonedock) < 100;";
expActiv="[""Dock Trader"",true,""enter""] call player_traderCity;";
expDesactiv="[""Dock Trader"",true,""leave""] call player_traderCity;";
};
};
class Item4
{
position[]={4977.15,4.74,6624.89};
TRGDEF
name="zoneAII";
expCond="(player distance [4977.15,6624.89,0.74293]) < 41;";
expActiv="[true,""enter""] call player_objectAII;";
expDesactiv="[true,""leave""] call player_objectAII;";
};
};
};
class Intro