Trigger_catapult in instance
After that I put the func_instance in the actual map, set the replacable value to a real info_target, but it doesn't seem to work. Typing "ent_bbox trigger_catapult" in-game shows the trigger itself, but there is no line leading to the info_target.
What am I doing wrong?
Kasc wrote:
Try naming your target @ and setting the variable to @ if you haven't already.
Edit disregard this-That kind of defeats the whole purpose of putting this in an instance. By naming it that, you can only have 1 target per map.
I misunderstood what you meant.
I do have it working as you said. I changed the parm in the instance to:
@fling_target > target_destination > target
and in the map named the actual target to "@fling_target3" and set the instance replace to "@fling_target3" and it worked.
Nicely done Kasc.
I had this issue when I tried to close a door outside of an instance from within an instance.
If you have an instance named "closer",
And a door named "close_me",
If you set the $close variable to "close_me", the instance will rename that target to closer-close_me,
where as with @close_me, the instance would still refer to it as @close_me.
Kasc wrote:
If you set the $close variable to "close_me", the instance will rename that target to closer-close_me,where as with @close_me, the instance would still refer to it as @close_me.
This was the part which I wasn't aware of. Now it works like a dream.
Thank you!