Venelar
09-25-2002, 07:52 AM
I'm working on scipting some NPCs in arena for my server, which is like the central zone I want people to hang around in when not fighting. What I want to do is put an 'Arenamaster' in each town, so when you start the game, you go to the arena master and he zones the player to arena. Heres my script, i'm only missing the zone command. I looked in WesQuests.cpp and didn't see a function to zone a player so im not sure if its possible.
NPC_SCRIPT 0000{
TRIGGER_TEXT:Hail:{
SAY:Hail traveller! I am the arena master. It is my duty to see that traellers such as yourself make a safe journey to the arena. Do you wish to [visit the arena]?
}
TRIGGER_TEXT:visit the arena:{
SAY:Very well then, off you go!
EMOTE:Teleports %CHARNAME% to the arena.
<-------INSERT ZONE PLAYER TO ARENA LINE HERE----------->
}
}
My second question is for the FLAG_ACCOUNT function. When used, it only gives GM status to players. I want to make quests like eros had where you must earn privlidges on my server. So you start with no privledges, then you do a quest to gain #GOTO, #ZONE, etc etc. Now, I have set up my ini file so that #GOTO is rated at 10, #ZONE at 20 and so on so that players can step up gradually. Is it possible to have a npc modify an account status? Eros had it but im not sure how it was done.
A quest might look like this...
TRIGGER_ITEM:0000:{
SAY:Outstanding work %CHARNAME%. You are worthy of my first secret of travel. To teleport to a different location within the area you are exploring, use #GOTO Xcoord Ycoord Zcoord.
FLAG_ACCOUNT 10
}
But... FLAG_ACCOUNT only gives GM status, not 10... is there a way to implement this?
Thanks, i hope i can get this working and open my server up. Id love to have some people try my other regular quests i've made.
NPC_SCRIPT 0000{
TRIGGER_TEXT:Hail:{
SAY:Hail traveller! I am the arena master. It is my duty to see that traellers such as yourself make a safe journey to the arena. Do you wish to [visit the arena]?
}
TRIGGER_TEXT:visit the arena:{
SAY:Very well then, off you go!
EMOTE:Teleports %CHARNAME% to the arena.
<-------INSERT ZONE PLAYER TO ARENA LINE HERE----------->
}
}
My second question is for the FLAG_ACCOUNT function. When used, it only gives GM status to players. I want to make quests like eros had where you must earn privlidges on my server. So you start with no privledges, then you do a quest to gain #GOTO, #ZONE, etc etc. Now, I have set up my ini file so that #GOTO is rated at 10, #ZONE at 20 and so on so that players can step up gradually. Is it possible to have a npc modify an account status? Eros had it but im not sure how it was done.
A quest might look like this...
TRIGGER_ITEM:0000:{
SAY:Outstanding work %CHARNAME%. You are worthy of my first secret of travel. To teleport to a different location within the area you are exploring, use #GOTO Xcoord Ycoord Zcoord.
FLAG_ACCOUNT 10
}
But... FLAG_ACCOUNT only gives GM status, not 10... is there a way to implement this?
Thanks, i hope i can get this working and open my server up. Id love to have some people try my other regular quests i've made.