How I end my map?
What can I do?
Create a trigger_once above/below (depends on where the departure elevator goes) the elevator so that when the elevator goes up/down, it hits and triggers it.
Go to the Outputs tab of the trigger_once.
Add this output:
OnTrigger -> <name of point_clientcommand> -> Command -> Disconnect
Hope this helps! ![]()
Add a func_instance that inserts the file "instances/p2editor/global_pti_ents.vmf". Give it a name. Put a trigger in the exit lift shaft triggering the global ents' input named instance:@global_pti_level_end;trigger or something like that (it'll show up in the dropdown). This will trigger the steam workshop vote page to come up when published.
I just checked the PTI elevator instances. The one you should be using is:
instances/p2editor/elevator_departure_logic.vmf
It is a version of the "logic" part of the elevator (IE the car, tube and fan) that calls up the rating window when the player enters it.
fedebenarg wrote:
Ok. Im using that instance you mentioned. That means that I have no way to know if my map had ended until I release it in the workshop?
Basically not if you go for the global_pti_method; unless you change the relay a bit to display a text or anything, but I highly discourage you to do that. As soon as the map is released to the workshop subscribe to it and play it see if it works. If it doesn't; just edit the file 
But as long as you trigger the global_pti_ents it should work just fine!