Hey Guys,
i have ONE automated Fuelstation on my Namalsk-Server, and i wanted to add a trigger, so everyone who comes near the fuelstation gets a message that this one supports auto-refueling and how to use it.
So i opened the mission editor, added a trigger with X Meter Radius, thats triggert by all units, plays a sound and shows a PLAIN DOWN Message for X Seconds, Preview was working fine... when i came close to the fuelstation, the message and sound appeared.
So, i saved the mission, oppened the mission.sqf, searched for the trigger code and added it into my mission.sqf, but... offcours, it did not work
So, anyone has an idea what i would have to change to make it work? and does it have to run only on server or only on client?
i have ONE automated Fuelstation on my Namalsk-Server, and i wanted to add a trigger, so everyone who comes near the fuelstation gets a message that this one supports auto-refueling and how to use it.
So i opened the mission editor, added a trigger with X Meter Radius, thats triggert by all units, plays a sound and shows a PLAIN DOWN Message for X Seconds, Preview was working fine... when i came close to the fuelstation, the message and sound appeared.
So, i saved the mission, oppened the mission.sqf, searched for the trigger code and added it into my mission.sqf, but... offcours, it did not work
Code:
_this = createTrigger ["EmptyDetector", [6239.0806, 9356.2764, 0]];
_this setTriggerActivation ["ANY", "PRESENT", false];
_this setTitleEffect ["TEXT", "PLAIN", "TEST!!!!"];
_trigger_1 = _this;
So, anyone has an idea what i would have to change to make it work? and does it have to run only on server or only on client?