group Move npc help

Join Discord

Paddy

LOMCN Veteran
Veteran
Jun 30, 2007
466
5
65
hey im not the best at npcs and cant seem to get this one right lol.

(useing heroes files)

#IF
CHECKGROUPCOUNT = 3
#ACT
grouptimerecall 120
groupmovemap XXXXX
GIVE TownTeleport

when we click npc with grp of 3 it gives use the tele but dont move us.

i cant work it out probs easy mistake anyone care to help :P?

/paddy
 

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
125
newbury
hey im not the best at npcs and cant seem to get this one right lol.

(useing heroes files)

#IF
CHECKGROUPCOUNT = 3
#ACT
grouptimerecall 120
groupmovemap XXXXX
GIVE TownTeleport

when we click npc with grp of 3 it gives use the tele but dont move us.

i cant work it out probs easy mistake anyone care to help :P?

/paddy


you could just edit this script with what you require. someone else will have to say what the class is for assassin as i have not tried and not sure if it will work for them CHECKGROUPCLASS Assassin = 3



; ===================================
; Npc Def NPC File : BichnInspector-5
; BattleGround Teleport npc in PrajnaIsland
; -----------------------------------
; Name: BichnInspector
; Job:
; Map No: 5
; Pos X 350
; Pos Y 597
; File name: *removed*
; Comment: BattleGround Teleport npc in PrajnaIsland
; this npc still needs some work
; and the commands testing within the script.

;================================================= =
;

[@main]
#SAY
I/m dispatched from the Bichon Wall,\
preventing the crossed force from Bottomless Pit breaking out..\
It may sound simple,but as a matter of fact,very difficult.\
The monsters attempt to break the seal endlessly.\ \
<We intend to protect the seal as well../@next>\
<I understand/@exit>

[@next]
#SAY
What? Do you know what kind of danger you are stepping into?\
Even if it is to slay the monsters in BichonWall,\
I cannot get involved in such nonsense.\ \
<I do wish to get rid of these monsters./@next2>\
<Is that so?/@exit>

[@next2]
#SAY
Okay if you sat so, I must test your power.\
first,organize the members into a group with three:\
Warriors,Sorcerers,and Taoists Come with exactly 9 of you here.\
Then i'll test how well they are united.\
You will find the orbs in Prajna Island.\
All members will hand over the orbs to the party leader,\
and the leader needs to talk to me when ready with orbs.\ \
<I am ready/@next3>

[@next3]
#IF
CHECKGROUPLEADER
#ACT
goto @groupowner
break
#ELSESAY
Sorry but you have to be a group leader!\ \
<Okay/@exit>

[@groupowner]
#IF
CHECKGROUPCLASS Warrior = 3
CHECKGROUPCLASS Taoist = 3
CHECKGROUPCLASS Wizard = 3
checkitem UnknownOrb 9
#SAY
Well now you have all the orbs you may enter.\ \
<Ok let me in/@next4>

#ELSESAY
Sorry but you dont have all the required members\
or Orbs to enter! Come back when you do.\ \
<Okay,I will/@exit>

[@next4]
#IF
checkitem UnknownOrb 9
#ACT
take UnknownOrb 9
BREAKTIMERECALL
GROUPTIMERECALL 60
GROUPMOVEMAP EV003 196 142
close

#ELSEACT
break
 
Upvote 0