IvanD Posted July 26, 2020 Group: Members Topic Count: 61 Topics Per Day: 0.02 Content Count: 110 Reputation: 0 Joined: 11/13/17 Last Seen: July 24, 2022 Share Posted July 26, 2020 6 npc same interraction / same names all 6 npc standing right next to each other npc will not talk to the player, unless player wearing headgear id 30000 once a player can interract, he can summon 6 aggresive monsters (ID:1000) replacing the location of 6 npc. npc vanished during summoning... comes back after an hour Quote Link to comment Share on other sites More sharing options...
0 buraquera Posted July 28, 2020 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 68 Reputation: 8 Joined: 05/12/20 Last Seen: April 6 Share Posted July 28, 2020 - script NPC_Summoner::NPCSummoner -1,{ if (getequipid(EQI_HEAD_TOP) == 30000){ for (.@i = 1; .@i < 7;.@i++){ set .@npcname$,"NPC_Summoner#"+.@i; getmapxy(.@mapname$, .@mapx, .@mapy, BL_NPC, .@npcname$)) monster .@mapname$,.@mapx,.@mapy,"Custom Monster",1002,1; hideonnpc .@npcname$; initnpctimer .@npcname$; } } end; OnTimer360000: hideoffnpc strnpcinfo(0); } map,x,y,pos duplicate(NPCSummoner) NPC_Summoner#1 SPRITE_ID map,x,y,pos duplicate(NPCSummoner) NPC_Summoner#2 SPRITE_ID map,x,y,pos duplicate(NPCSummoner) NPC_Summoner#3 SPRITE_ID map,x,y,pos duplicate(NPCSummoner) NPC_Summoner#4 SPRITE_ID map,x,y,pos duplicate(NPCSummoner) NPC_Summoner#5 SPRITE_ID map,x,y,pos duplicate(NPCSummoner) NPC_Summoner#6 SPRITE_ID Something like this.... Note i have not tested the script. Quote Link to comment Share on other sites More sharing options...
Question
IvanD
6 npc same interraction / same names
all 6 npc standing right next to each other
npc will not talk to the player, unless player wearing headgear id 30000
once a player can interract, he can summon 6 aggresive monsters (ID:1000) replacing the location of 6 npc.
npc vanished during summoning... comes back after an hour
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.