![]() |
Turning this off
Ok I got the npc person so that he wouldnt do anything form the start and so that he would attack if you said "intruder". I was trying to find a way to turn him off and set him back to his old location. How would I do this? I have this much.
Quote:
|
Oh yeah thanks and could you make it so he wont hurt anyone in a specific guild.
|
Replace the original if (created) section with this;
NPC Code: Saying RESET will now make it default back to its original position. I couldn't test this and so I think it'll still attack players even when warped back. It doesn't stop it attacking a certain guild, but tell me what you think. :P |
Thanks that got me 1 step closet but can anyone tell me how to get it so he stops attacking me if I reset him.
|
I mean stop attacking moving and set his gani back to idle all that jazz.
|
if (playerchats && strequals(#c,reset) && strequals(#g,Graal Royal Army)) {
x=this.originalx; y=this.originaly; this.walkmode=0; dir=2; this.mode=0; this.runcounter=0; setcharani idle,; sprite = 0; mindist = 0; aimplayer = 0; this.aimx = 0; this.aimy = 0; } :D |
If stefan added a
NPC Code: then it would be easy. |
Quote:
|
NPC Code:Originally posted by GrowlZP2P It didnt work |
isnt there #g() array? and index is same as player[] index I believe
|
Please stick to the topic Liquid Ice
|
timeout=0;
Use that command. It will stop the timeout, thus stopping is movement. |
Quote:
the #g() message code is what you would use to stop him from attacking members of a certain guild *******! So he was on topic and you need to die! :grrr: :grrr: :grrr: :grrr: |
OMG, He was confused! I think it is the end of the world! You have a right to be so angry! :rolleyes:
|
DARE TO BE STUPID!
|
if (playerchats&&strequals(#c,stop)){
this.huntspeed=0; } I think it's the huntspeed that makes it attack. I'm not sure though. |
omi its a scam the npc says made by stefan k!!!
|
Huh Im confused. lol
|
| All times are GMT +2. The time now is 08:29 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.