Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   *meow* Ganis... (https://forums.graalonline.com/forums/showthread.php?t=24705)

Neonight 02-27-2002 08:54 PM

*meow* Ganis...
 
I can't get and ganis to work for a NPC I created. It's a regular NPC (head, body, clothes, etc.) but if I put:


if (created) {setcharprop #m,jaxe;} It doesn't work... Doesn't #m do the gani for NPCs? It used to work for me, but now rarely anything offline does... I need to find an older version of Graal to make levels and such on. :(


Any tips? >.o

I even tried:

if (playerenters) {
setcharprop #m,jaxe;}

but it didn't work...

Neonight 02-27-2002 09:25 PM

Quote:

Originally posted by Kaimetsu
Isn't #m read-only? Use setcharani, dude.

erkjb23kjfbkjfb I didn't see that in the list/cloumn to the right while in the scripting box. I don't script for a while, then I come on and boom there's 334832984329842398e.99e new commands. :(

Oh well more fun for me. :D

I was on Classic yesterday helping someone from France (who had just started Graal.) reliving my newbie days on a Providence account.

btedji 02-27-2002 09:26 PM

Quote:

Originally posted by Kaimetsu
Isn't #m read-only? Use setcharani, dude.
Some one list which ones are read only

Neonight 02-27-2002 09:27 PM

Quote:

Originally posted by Kaimetsu
Isn't #m read-only? Use setcharani, dude.
Erm then it only does the gani once... Let me check if timeout will work.

Neonight 02-27-2002 11:28 PM

Quote:

Originally posted by Kaimetsu


Then set the gani to loop?

Timeout works offline, and once online..

Loop? I'll have to edit jaxe then won't I?

joseyisleet 02-27-2002 11:33 PM

-=Josey=-
In the gani editor, on the continuous part set that to true.

Saga2001 02-27-2002 11:37 PM

Quote:

Originally posted by Kaimetsu
Isn't #m read-only? Use setcharani, dude.

Neonight 02-27-2002 11:45 PM

Quote:

Originally posted by joseyisleet
-=Josey=-
In the gani editor, on the continuous part set that to true.


Then I'll have to rename the gani, since it'll screw up everyone's gani who comes on Providence. Let me edit.

Neonight 02-27-2002 11:46 PM

Quote:

Originally posted by Saga2001
DON'T SPAM IN MY THREADS.

Oh well I'm gonna delete this thread anyway...


Thanks Josey. I knew how to edit it and such, but I didn't know if he meant make it loop in the script, or in the actual gani.

joseyisleet 02-28-2002 12:04 AM

-=Josey=-
Or you could use it in a timeout like:
NPC Code:

if (playerenters){
timeout=.05;
}
if (timeout){
setani ani,;
timeout=ganilength;
}



Saga2001 02-28-2002 12:10 AM

Quote:

Originally posted by Neonight


DON'T SPAM IN MY THREADS.

Oh well I'm gonna delete this thread anyway...


Thanks Josey. I knew how to edit it and such, but I didn't know if he meant make it loop in the script, or in the actual gani.

Wtf are you talking about retard? I didn't spam in your thread...I quoted what kaime said...wake up there. Also remember not to include the .gani extention...

Warcaptain 02-28-2002 03:11 AM

Quote:

Originally posted by btedji


Some one list which ones are read only


#m
#n
#g
#a
#e()
im pretty sure there are more though, but thats all i can think of now that im not in offline mode.

neomaximus2k 02-28-2002 06:37 AM

Quote:

Originally posted by Kaimetsu
Don't loop it with a timeout loop, make a new gani - an edited, loopy version. Using a timeout would just be laggier.
Cant you just use the replaceani command???
(not sure if that is the correct one)

btedji 02-28-2002 09:41 PM

Quote:

Originally posted by Warcaptain



#m
#n
#g
#a
#e()
im pretty sure there are more though, but thats all i can think of now that im not in offline mode.

thats for those, ill probably test the rest


All times are GMT +2. The time now is 06:17 PM.

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