The problem: I need to spawn a weapon for every time the teleporter is used, but the problem is that the location of the exit of the teleport is different every round.
Details:
I have two trigger teleports that cover the entire map.
They are called Start_TeleAllT and Start_TeleAllCT.
They teleport all Ts/CTs to the location choosen by the portal
They start disabled
There are two trigger onces that are found at the end of the map
They are called Lobby_Portal_Minefield and Lobby_Portal_Breakfloor
Using one of the Portals will disable the other one.
When triggered, they will set the location of the teleporter and enable them
eg.
Name: Lobby_Portal_Minefield
Output: OnTrigger
Target Entity: Start_TeleAllT
Input: addoutput
Parameter: target Minefield_T_Tele_End
This works fine.
Now, to try to spawn the weapon, I have made two templates named Minefield_Spawn_Template and Breakfloor_Spawn_Template, with env_entity_makers at the exits of the teleporters
What I have done is used addout to try to change what is spawned when someone is teleported (OnEndTouch)
eg.
Name: Lobby_Portal_Minefield
Output: OnTrigger
Target Entity: Start_TeleAllT
Input: addoutput
Parameter: endtouch knife_spawn_maker_t,forcespawn
Could someone please tell me what I am doing wrong with the addoutput or tell me a better way of doing this.
I think you're best off using a logic_auto to trigger a logic_case that can randomly activate seperate func_teleporters that are all set to spawn disabled, and all have the required different exits.
[QUOTE=SweetSwifter;19846788]I think you're best off using a logic_auto to trigger a logic_case that can randomly activate seperate func_teleporters that are all set to spawn disabled, and all have the required different exits.[/QUOTE]
Thanks for the reply, but thats not what I am looking for.
I want to only have two teleporters so the map looks cleaner and I also want it so someone can choose which teleporter to activate, using the trigger_onces at the end of the map
I may do something like you said if I cant get this to work.
Sorry, you need to Log In to post a reply to this thread.