Map Coordinate Triggers?

Play Now

Breezer

Legend
Legendary
Jul 16, 2004
3,684
845
345
is there a way you can change a coordinate to a place to another place .. but by setting flags ... so when i player completes a quest , the coordinates send them to a different map , instead of the one at first. ..

Just an idea i wanted to try.
 

mStation

Golden Oldie
Golden Oldie
Oct 29, 2003
2,042
69
235
♫♪♫ ♦♥♠♣ ♀♂♀
hmm.. i think the only way is doing something with an npc make so that to enter the cave u have to press him.. else i know there is a command like CHECKPOS mapname x y which checks the pos of the player and then u could gmexecute a mapmove if he has certain flags active.. but this would be nice if you could make a script check the player pos always.. which i'm not sure how to make :(
 
Upvote 0

Breezer

Legend
Legendary
Jul 16, 2004
3,684
845
345
instead i made a SET flag script on the quest npc , and a portal that checks the flag at the map entrance .... so if this flag isnt set then u havent killed the required mob blah blah .. so it sends you to the over taken map .. but when the flag is checked it sends you to the other map ..

End part of script

[@finish]
#ACT
SET [900] 1
goto @finish1

[@finish1]
#SAY
Congratulations <$USERNAME>, You have defeated LordAelgard!\
Please accept this reward as a tribute to our gradtitude.\
<Thanks/@take>

[@take]
#ACT
SET [9000] 1
goto @take1

[@take1]
#IF
CHECKJOB Warrior
#ACT
goto @war
#ELSEACT
goto @take1


[@take1]
#IF
CHECKJOB Wizard
#ACT
goto @wiz
#ELSEACT
goto @Tao

[@War]
#ACT
SET [1005] 1
GIVE WarriorsRing 1
close

[@Wiz]
#ACT
SET [1006] 1
GIVE WizardsRing 1
close

[@tao]
#ACT
SET [1007] 1
Give TaoistsRing 1
close

Portal script

[@main]
#IF
CHECK [900] 1
#ACT
mapmove USP2 66 68
#ELSEACT
mapmove USP1 228 288
break
 
Last edited:
Upvote 0