Teleporting other objects with a weapon
What methods would I need to override to make a weapon that, when hitting an actor in game, will teleport that actor to a set location (say, add 4000 to the X value or something like that)?
I already know that the Actor class has a SetLocation and Move methods, but how would I get the actor a projectile hits?
Or would I have to use a trace?
Last edited by theahura; 05-05-2012 at 01:26 PM.
Take a look at how the teleporter handles to teleport "you" in DM-Deck look at how it was done and try to implement it in your weapon, i wouldn't really have an idea on how to do that but it should be possible,