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 02-27-2002, 08:54 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
Unhappy *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...
Reply With Quote
  #2  
Old 02-27-2002, 09:25 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
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.

I was on Classic yesterday helping someone from France (who had just started Graal.) reliving my newbie days on a Providence account.
Reply With Quote
  #3  
Old 02-27-2002, 09:26 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
Quote:
Originally posted by Kaimetsu
Isn't #m read-only? Use setcharani, dude.
Some one list which ones are read only
Reply With Quote
  #4  
Old 02-27-2002, 09:27 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
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.
Reply With Quote
  #5  
Old 02-27-2002, 11:28 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
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?
Reply With Quote
  #6  
Old 02-27-2002, 11:33 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
In the gani editor, on the continuous part set that to true.
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #7  
Old 02-27-2002, 11:37 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Kaimetsu
Isn't #m read-only? Use setcharani, dude.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #8  
Old 02-27-2002, 11:45 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
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.
Reply With Quote
  #9  
Old 02-27-2002, 11:46 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight
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.
Reply With Quote
  #10  
Old 02-28-2002, 12:04 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
Or you could use it in a timeout like:
NPC Code:

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


__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #11  
Old 02-28-2002, 12:10 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
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...
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #12  
Old 02-28-2002, 03:11 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
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.
Reply With Quote
  #13  
Old 02-28-2002, 06:37 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
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)
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #14  
Old 02-28-2002, 09:41 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
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
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:00 AM.


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