Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   need help debugging script (https://forums.graalonline.com/forums/showthread.php?t=134260739)

MrOmega 10-07-2010 01:07 AM

need help debugging script
 
I have a NPC and I making it move from one level to another using warpto, that works fine and great, but the player enters the room with the NPC the NPC head is missing, body/shield are still there but now my NPC has been beheaded... Anyone know what is causing this?

Soala 10-07-2010 01:10 AM

posting the script may help?
a NPC head disappearing like that is not common lol

Skyld 10-07-2010 01:35 AM

Are you setting the head image and other visible attributes serverside? If so, consider setting them clientside in onPlayerEnters() and see if that resolves your problem.

MrOmega 10-07-2010 03:06 AM

Quote:

Originally Posted by Skyld (Post 1604630)
Are you setting the head image and other visible attributes serverside? If so, consider setting them clientside in onPlayerEnters() and see if that resolves your problem.

That did it, thank you.

Ok, new question, this.chat won't work after I warp the NPC... (message() doesn't work either)


All times are GMT +2. The time now is 06:40 AM.

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