satexas69 0 Posted June 15, 2007 I have a trigger on my mission that announces the start of a wave when the players get close to the enemy city at the beginning of my mission. It's simple, it's a trigger that's set to "once" and fires off a text message. Easy. Common. But if a player joins up late in the mission, say 30 minutes after that trigger's already fired - it fires again. How can I set some type of variable (like a flag - "trigger1firedoff=true" ) so that way when JIP's join, they don't get that/those types of late triggers? Share this post Link to post Share on other sites
VanhA 10 Posted June 15, 2007 Try this script. I use it for late arrivals to run "weapons_respawn" script because otherwise they spawn without weapons. There are options for specifying wether to run or not run the script or command for JIP. JIP script Share this post Link to post Share on other sites
mr.peanut 1 Posted June 15, 2007 @Wittmann - In your init.sqf you ahve the following condition: (local server or !local player) I feel like a noob for asking, but when , if ever, is !local player true? Share this post Link to post Share on other sites
whisper 0 Posted June 15, 2007 dedicated server has no player Share this post Link to post Share on other sites
mr.peanut 1 Posted June 15, 2007 But a dedicated server never has a player. Edit: Never mind. I now understand it is to make sure player unit has been created from JIP. Share this post Link to post Share on other sites