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
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