Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-05-2012, 12:58 AM
Blah64 Blah64 is offline
Registered User
Blah64's Avatar
Join Date: Oct 2012
Posts: 20
Blah64 is on a distinguished road
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?
Reply With Quote
  #2  
Old 11-05-2012, 01:09 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
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).
__________________
Reply With Quote
  #3  
Old 11-05-2012, 03:43 AM
Blah64 Blah64 is offline
Registered User
Blah64's Avatar
Join Date: Oct 2012
Posts: 20
Blah64 is on a distinguished road
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:53 AM.


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