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 06-22-2004, 07:40 AM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
problem with replaceani

Sorry, I wasn't sure if this should go in Ganis section or Scripting.

Anyway, I've encountered a problem. When I try replacing the idle gani with a different gani, and that gani required parameters, how do I set those parameters using GScript? All help is appreciated.

BTW the param number is 1, and I have tried using setplayerprop #P1, which only replaces the hat, unless I should make it a different param?
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
Reply With Quote
  #2  
Old 06-23-2004, 08:48 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
The #P's are attributes, which hold for all ganis. Params are the things you set when you change the gani (local to that gani). just wanted to clear that up

You can't have replaceani use params, so just don't use replaceani. Hmm, I was going to try and see if I could set the default param as a string name and try a workaround, but it didn't seem to work.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #3  
Old 06-23-2004, 09:30 PM
Duwul Duwul is offline
Registered User
Join Date: Nov 2003
Posts: 105
Duwul is on a distinguished road
Oh, alright. Well I got what I needed working, so thanks.
__________________
-Ajira
Liek, omigosh.
<3 DoomsDay.
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 05:05 PM.


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