Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   showcharacter() (https://forums.graalonline.com/forums/showthread.php?t=134266510)

blackbeltben 05-25-2012 04:40 AM

showcharacter()
 
I'm sorry if this seems like a dumb question, but I can't figure it out.
I'm working on a NPC guy and when it is created it's showcharacter()
But I'm looking for the code to hidecharater for which is needed after my timeout.

I also had one more question.
for some reason, the play("sound"); brings errors in my RC when I put it in my NPC.

fowlplay4 05-25-2012 04:42 AM

It's just: hide();

That's probably because there is no play() on the server-side nor would it work the way you want it to, you'll have to use a gani or triggerclient and a weapon script.

blackbeltben 05-25-2012 05:14 AM

fowlplay you make me feel stupid! lol

But for some reason my setAni is not working :(
the walking works but thats it.

fowlplay4 05-25-2012 05:46 AM

It's setcharani, setani is for players.

Alternative you can use this.ani = "whatever"; as well, I tend to use setcharani if showcharacter() has been called and this.ani when it's not.


All times are GMT +2. The time now is 01:15 AM.

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