![]() |
Help with onwall
can someone give me a working onwall script so you dont go through walls? if you do ill give you credit it my script and send you a copy :)
|
well if it's for an NPC, i THINK (key word=think) it would be like this:
NPC Code: |
I dont know where I stuck mine at but the best way is to make an array with .25,.5,.75,1 ... blabla then u just run thru the array (and use vecx and vecy) to check the tiles infront of the player.
|
uhhhh... okay
|
| All times are GMT +2. The time now is 03:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.