Results 1 to 2 of 2
  1. #1
    MSgt. Shooter Person
    Join Date
    Jun 2011
    Posts
    175

    Default 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!
    Last edited by theahura; 05-05-2012 at 01:26 PM.

  2. #2
    Redeemer
    Join Date
    Jul 2011
    Location
    London, UK
    Posts
    1,789

    Default

    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,


 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright ©2009-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.