heres a challenge as far as im concerned!
a raycast script that works! altho im not sure i like your whole cloak and dagger discussions, a forums a forum, as a person who shares everything they discover with the forum that helped me discover it i find that a little self centered but not my place
If you've seen my squad command script you'll know why i need to get this working but it just doesnt seem to want to work for me
ive checked the threads regarding this and it seems some people have got it working and in many enemy ai scripts ive seen it but it seems not to want to work for me as a result my squad members get stuck in walls etc
if you could write a script for me that just sent an entity walking round when it gets to a wall turning and walking at 90 degrees till it encounters another wall/object and then so on and so forth, and im sure i can work the rest out from there ive tried
raycast=1 100 nothing
raycast=0 100 nothing
i even tried raycast back
an example of how i used it was testing to see if i got an entity walking forward forever if it turned round when it hit a wall
(i always set my entitys to activate when i press t so ignore the scan code bit, its just so they dont do whatever i want them to do the instant the level starts i thouroughly recommed this!)
heres what i gave it
:state=0,scancodekeypressed=20:state=1
:state=1:movefore=5
:state=1,raycast=1 100:state=2
:state=2:state=0
and it just kept walking forward despite the wall being there
i tried just :state=0,raycast=1 100:state=1
and set it to crouch at state1 then pushed a locked in front of it and nothing
so there ya go lol
- Why is everyone on here so rude? -