Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-28-2012, 10:14 PM
Emera Emera is offline
Delterian Hybrid
Emera's Avatar
Join Date: Mar 2011
Location: Newcastle Upon-Tyne
Posts: 1,704
Emera is a jewel in the roughEmera is a jewel in the rough
Pushing players at an angle.

I'm trying to work on something where players who are in a certain vicinity to the player will be pushed away according to their distance and position to the player. I've managed to figure out a very simple method of doing so, but it's not as effective as I think it could be and only pushes in four directions according to my player's direction. The image attached will hopefully explain it better than I have, but if anybody could lend me a hand, I'll greatly appreciate it.
Attached Thumbnails
Click image for larger version

Name:	bluedirpic.PNG
Views:	162
Size:	97.1 KB
ID:	54303  
__________________
Reply With Quote
 


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 05:56 AM.


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