Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Teleporting other objects with a weapon

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Teleporting other objects with a weapon

    Hey everyone,

    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?

    Thanks!

  • #2
    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,

    Comment

    Working...
    X