![]() |
How to ?
Ok heres the deal, my npc is standing in the direction "up" and i want my NPC to (when (playertouchsme)) change direction to south and say 1;
Please Help.. |
ROLLS! Sorry... he he.
NPC Code: ---Shifter |
Quote:
NPC Code: Please note the first sign is 0, Make sure you have the correct number of sign or it wont work or will say wrong message |
you both have horrible script formatting
|
LOL, I just threw that code together, I didn't care what it looked like. I NEVER EVER EVER script like that x.X
---Shifter P.S. He said have it say 1 =P ---Shifter |
Quote:
Well either way, He has both scripts whateva he ment. =D |
I meant say as in the NPC reading from sign nr 1 , as in say <signindex>;
Eh the code if kinda buggy, when i enter the room, he says the stuff without me having to touch him =/ |
Re: How to ?
Quote:
if(playertouchsme){dir=(playerdir+2)%4;} but if you wanna make this... Use sleep to the npc turn before say something.... it starts with dir equal 0 and when you touch it it changes to 2.. I think you know that.. rofl |
...or maybe you can do this?
NPC Code: lol, all of this for a simple sign script. :D |
I still think my way was the simplest, but if he wants to do say2, just use say <signindex> and it should work just fine! or if you FEEL it has to be complicated:
NPC Code: I don't even care if it works, the first way is too easy, and it is about POINTLESS for us to explain this 100 times over. ---Shifter |
Re: Re: Re: How to ?
Quote:
|
Close this thread, pointless x.X
---Shifter |
Quote:
|
Did I not make it clear I didn't care what that looked like because it was a stupid pointless script? Look @ my other's... not bad. And really, why the hell would it matter as long as you can read it and it works?? If put:
NPC Code: not quite pretty @ ALL but you can somewhat read it, and it works. If you space things out, there shouldn't be a problem. So if you don't like my scripting style, then stfu and don't read it! ---Shifter |
All times are GMT +2. The time now is 09:11 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.