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 12-29-2012, 06:36 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by Trakan View Post
Hey all!
I'm in little troubles.. i use the DustyPorViva's custom movement system and i want to set my own ganis (i.e clientr.idle),

i have this
PHP Code:
player.ganis = {"#s(clientr.gani)","walk","grab","pull","push","sit","swim"}; 
"#s(clientr.idle)", i want to set the flag, but it's doesn't work ..
Thanks for answering!
PHP Code:
temp.ganis = {clientr.gani,"walk","grab","pull","push","sit","swim"}; 
#s is GS1 not GS2... also dont use "" for when using variables.. "" is for strings.
Reply With Quote
  #2  
Old 12-29-2012, 06:46 PM
Trakan Trakan is offline
It's all about cats!
Trakan's Avatar
Join Date: Sep 2010
Location: France
Posts: 64
Trakan is an unknown quantity at this point
Quote:
Originally Posted by scriptless View Post
PHP Code:
temp.ganis = {clientr.gani,"walk","grab","pull","push","sit","swim"}; 
#s is GS1 not GS2... also dont use "" for when using variables.. "" is for strings.
Not working... But i don't know why, i have clientr.gani=idle in my flags
Reply With Quote
  #3  
Old 12-29-2012, 06:56 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by Trakan View Post
Not working... But i don't know why, i have clientr.gani=idle in my flags
Yes it does work... you can even test it..

PHP Code:
player.chat temp.ganis[0]; 
You were trying to set the gani to an array of ganis.. 2 things wrong with that.. V5 doesnt support player.ani = ;// to set gani (i think may be wrong).. and 2.. you have to set it to a single gani.. not like 10 at once
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 06:26 PM.


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