Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   problem with replaceani (https://forums.graalonline.com/forums/showthread.php?t=53310)

Duwul 06-22-2004 07:40 AM

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?

Dach 06-23-2004 08:48 PM

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.

Duwul 06-23-2004 09:30 PM

Oh, alright. Well I got what I needed working, so thanks.


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

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