Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-29-2004, 05:55 AM
Gman4pwnu Gman4pwnu is offline
Banned
Join Date: Jan 2004
Posts: 434
Gman4pwnu is on a distinguished road
Send a message via AIM to Gman4pwnu
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?
Reply With Quote
  #2  
Old 03-29-2004, 02:43 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
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?
__________________
V$:CONFL16T
Reply With Quote
  #3  
Old 03-29-2004, 04:49 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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),;
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #4  
Old 03-29-2004, 05:00 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Heh o-well, now he learnt 2 new things :}
__________________
V$:CONFL16T
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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