Parenting woes.. want player origin not view angles

Discussion in 'Mapping Questions & Discussion' started by happs, Nov 7, 2014.

  1. happs

    happs L1: Registered

    Messages:
    5
    Positive Ratings:
    3
    I'm making a single player tutorial map. I'm trying to detect when a player has done a 360 turn. And ensure they do one every 10 seconds or so.

    I'm using 4 trigger_look brushes, stacked together. Each targeting an entity in the cardinal direction. Originally I had info_target entities as the targets, but they aren't spawned from point_template / env_entity_maker for some reason. So I changed the targeting entities to 2x2x1 func_brushes.

    The above enteties are parented to a named func_brush look_target_anchor.

    This anchor is parented to the !activator from a trigger_multiple, after being spawned from the env_entity_maker.

    The problem that I am having, is that it appears that the entities spawned are parented to the client player's view angles. But the behavior I want is for them to parent to the entity origin. Interestingly, the correct behavior is observed when a tfbot activates the trigger_multiple.

    http://pastebin.com/fD3MrPPQ
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    That's just how parenting works, no way around it. But I'm not sure what's up with the bot behaving differently. I feel like there should be a way to do this though, so I'll ponder on it.
     
  3. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    None of my ideas worked out. :/
     
    • Thanks Thanks x 1