Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Rotating a DB NPC (https://forums.graalonline.com/forums/showthread.php?t=134267339)

Blah64 11-05-2012 12:58 AM

Rotating a DB NPC
 
I am able to rotate players easily using gani scripts, but when I tried to apply this to DB NPCs, it wouldn't work.

Does anyone have any advice on how to rotate a DB NPC?

cbk1994 11-05-2012 01:09 AM

I think you can just set this.rotation (might be this.angle?), clientside of course. Keep in mind that actual DB NPCs have weird problems with clientside code (you usually have to reconnect or sometimes restart the game client for clientside updates to take effect).

Blah64 11-05-2012 03:43 AM

I couldn't figure out how to do it, so instead I just moved image info of the DB npc to a player weapon that everyone has and it updates the image using the DB NPC's vars.


All times are GMT +2. The time now is 03:00 PM.

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