![]() |
quick question
ok first of all in one npc i have this script
//#CLIENTSIDE if (!castlepush1) {canbepushed;canbepulled} if (castlepush1) {cannotbepushed;cannotbepulled; } if (x=33&&y=25) {set castlepush1;} then in another i have this //#CLIENTSIDE if (castlepush1){show; play secret.wav; } if (playertouchsme) {set starkey; say 0; hidelocal; } ok basically the second npc is suppose to appear after the first one is pushed to 33,35 but heres the thing. i found while testing it that after i pushed it to the right spot the item didn't appear i had to go up and touch the first npc again for the second to appear. How can i fix this? |
NPC Code://#CLIENTSIDE |
hmm what about this
ty thats been buging me. hmm what about this one?
if (!pikazsaysyes) {setlevel2 30,30,levelname.graal} even when i have the flag set it warps me out : / |
No the x/y position must be checked in
a timeout. You must know that the script is normally only called when there happens something, e.g. you touch the npc. And its setlevel levelnames,x,y; |
Quote:
|
hmmm ok i think i get it now thanx. and on the seocnd one that was a typo thats what i get for typing up a question real quick 0.o. thanx : D
|
yet another
the flag thign suddenly decided to work today *shrug* anyway for zoom efect. Is this simply all you need for it
Setzoomeffect 3; if i do that its suppose to zoom in right? well i can't get it to >.< |
I though Zoom effects were disabled!:confused:
|
Re: quick question
NPC Code:if (x=33&&y=25) Don't you need == and not =? |
I think = works but you should use ==
|
| All times are GMT +2. The time now is 10:29 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.