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 08-15-2004, 05:16 PM
MegaSizzler MegaSizzler is offline
Registered User
Join Date: Jul 2004
Posts: 26
MegaSizzler is on a distinguished road
Thumbs down Gani Probs

Why wont this work? I keep getting an error,
if (playerenters) {setani walk.gani} I have also tried giving it directions to walk such as 2. So pls help. It just wont work. Its also wierd that is is setani. Shouldnt it be set gani?
Reply With Quote
  #2  
Old 08-15-2004, 05:28 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
setani sets the players ani;
NPC Code:
setani ANINAME_WITHOUT_.GANI,PARAMS;


In your case, just do this:
NPC Code:
 if (playerenters) {
setani walk,;
}

__________________
-Kjetil Valen
Reply With Quote
  #3  
Old 08-15-2004, 05:30 PM
MegaSizzler MegaSizzler is offline
Registered User
Join Date: Jul 2004
Posts: 26
MegaSizzler is on a distinguished road
X.x. thx. I shoulda tried that
Reply With Quote
  #4  
Old 08-15-2004, 06:36 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by MegaSizzler
Its also wierd that is is setani. Shouldnt it be set gani?
What's so weird about the name of command that sets the player's animation being named 'setani'?
Reply With Quote
  #5  
Old 08-15-2004, 07:06 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally Posted by MegaSizzler
Its also wierd that is is setani. Shouldnt it be set gani?
GAni==Graal ANImation
__________________
-Kjetil Valen
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:13 AM.


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