Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Loops (https://forums.graalonline.com/forums/showthread.php?t=12384)

KrAnKyP2P 09-21-2001 02:10 AM

Loops
 
Im trying to make an npc that keeps flashing the player and doesn't stop till they turn it off...
how do i make it so it loops the hideplayer action??
P.S. Don't Laugh lol..

AlexH 09-21-2001 02:23 AM

if you dont know how to use loop
use timeout

KrAnKyP2P 09-21-2001 02:25 AM

thanks:D

AlexH 09-21-2001 02:25 AM

you know how to use timeout right?

KJS 09-21-2001 02:46 AM

dont use hideplayer use

showstats 1+2+4+8+16+32+64+128+256+512;

then to show them again use

showstats 1+2+4+8+16+32+64+128+256+512+1024;

AlexH 09-21-2001 02:47 AM

ack
thats not how you use showstats
you use it by adding all the things you want to hide
say it added up to 200
then you take 200 away from ehh 2407 (something like that id need to check) then you use showstats 2207 or at least thats how i use it

KJS 09-21-2001 02:50 AM

Quote:

Originally posted by AlexH
ack
thats not how you use showstats
you use it by adding all the things you want to hide
say it added up to 200
then you take 200 away from ehh 2407 (something like that id need to check) then you use showstats 2207 or at least thats how i use it

you can use it either or way (you can say blah+blah or just the whole number it self...)

I always add it like that so I know I dont miss a number and stuff... Then I can accaully see what I have hidden like if I am debuging it then I dont have to go through it all to see what I all added up again... That is why I do it
1+2+4+8...

ect...

but it doesn't really matter

AlexH 09-21-2001 02:53 AM

Quote:

Originally posted by KJS


you can use it either or way (you can say blah+blah or just the whole number it self...)

I always add it like that so I know I dont miss a number and stuff... Then I can accaully see what I have hidden like if I am debuging it then I dont have to go through it all to see what I all added up again... That is why I do it
1+2+4+8...

ect...

but it doesn't really matter

thats actually a good point
but if i need to see what ive hidden all i really do is run the script and see whats not there that usually is
although if you do it like 1+2+4+8....... you know you wont have made a calculation error


All times are GMT +2. The time now is 10:57 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.