Parenting path_track

Discussion in 'Mapping Questions & Discussion' started by Neobenedict, Oct 10, 2014.

  1. Neobenedict

    Neobenedict L1: Registered

    Messages:
    22
    Positive Ratings:
    1
    Hi,

    I need a way to make a laser beam follow a player. One way I thought was parenting a info_target (for the laser) to a func_tracktrain, and have the last path_track set to parent the player. The laser should then follow the player along the ground. This is emulating a func_tank (doesn't exist in TF2).

    If anyone knows how to do this (parenting path_track is broken apparently) a better way or using a tracktrain please let me know.

    Thanks
     
  2. Izotope

    aa Izotope Never releases maps

    Messages:
    609
    Positive Ratings:
    571
    Set the laser target to !activator, then let the target player activate the laser with brush-trigger or a brush-button or any other kind of trigger.
     
  3. Neobenedict

    Neobenedict L1: Registered

    Messages:
    22
    Positive Ratings:
    1
    It needs to move towards the player, not start at the player.
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    You can fake a parenting with logic_measure_movement forcing the path_track to move.