Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Replaceani and Custom Movement Systems (https://forums.graalonline.com/forums/showthread.php?t=52013)

Gman4pwnu 03-29-2004 05:55 AM

Replaceani and Custom Movement Systems
 
Well it seems when you do replaceani and then call a setani walk,; it says screw you to the replaceani. Im wondering how i can get around this? Is there a parameter i can include? Or should I just set the string of the walk gani in each gun?

WanDaMan 03-29-2004 02:43 PM

It says screw you?

Hrmm
Walk is allways considerd as walk i.e.
replaceani walk,idle;
to get back to normal
replaceani walk,walk;
get it?

Dach 03-29-2004 04:49 PM

hehe, that's definately not what he means, Wan

you can't read from the replaceani feature, so you can't script it directly into your movement. But that's not a problem, just set a string to replace your anis. like;

setstring client.walk,walk;
setstring client.idle,idle;

or use a string list

setstring client.anis,walk,idle;

and just change them like that. This only works because you can pass strings to the setani command, <3 for Stefan

setani #s(client.walk),;
setani #I(client.walk,0),;

WanDaMan 03-29-2004 05:00 PM

Heh o-well, now he learnt 2 new things :}


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

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