Page 1 of 1

help please

PostPosted: Thu Feb 22, 2007 11:53 pm
by DarkParadox
im try to make a actor destroy another actor in a certain range when they press a certain button how do i do that ???

PostPosted: Sat Feb 24, 2007 11:48 am
by Troodon
Put in keydown event:
1.Check the distance with the distance function
2.If distance is smaller than # destroy the 2nd actor

(# is your range)

I hope this helped.