ragnazorg Posted November 18, 2011 Share Posted November 18, 2011 Hi I'm using this for my woe restriction for third jobs and trans - script resrtiction -1,{ OnPCLoadMapEvent: if (!agitcheck()) { end; } getmapxy [email protected]$,[email protected],[email protected],0; setarray [email protected]$[0],"arug_cas04","schg_cas02","schg_cas03"; I wonder since !agitcheck checks the running woe what about Battlegrounds? Quote Link to comment Share on other sites More sharing options...
0 ragnazorg Posted November 18, 2011 Author Share Posted November 18, 2011 nvm. Close the topic please. Quote Link to comment Share on other sites More sharing options...
0 GodLesZ Posted November 18, 2011 Share Posted November 18, 2011 nvm. Close the topic please. Maybe someone else is interested in this too? If you solved your problem, you should also say how. Basicly, there are 2 simple ways. #1 check for users on the battleground map, i.e. getmapusers("bat_b02"); // Flavius getmapusers("bat_a01"); // Tierra #2 after joining the battleground you receive a quest. Each Battleground has its own quest. So just check the quest i.e. set([email protected], checkQuest(2070, PLAYTIME)); // Value of [email protected] (taken from script_commands.txt) -1 = Quest not started (not in quest log) 0 = the time limit has not yet been reached 1 = the time limit has not been reached but the quest is marked as complete 2 = the time limit has been reached 1 Quote Link to comment Share on other sites More sharing options...
Hi I'm using this for my woe restriction for third jobs and trans
- script resrtiction -1,{ OnPCLoadMapEvent: if (!agitcheck()) { end; } getmapxy [email protected]$,[email protected],[email protected],0; setarray [email protected]$[0],"arug_cas04","schg_cas02","schg_cas03";I wonder since !agitcheck checks the running woe what about Battlegrounds?
Link to comment
Share on other sites