I need to hook up the PTI vote to a custom situation

Avatar
CosmicD
125 Posts
Posted Apr 16, 2014
Hello,

I wonder if somebody could explain to me how to do a "from instance to instance" call on the pti vote menu.

In all of my maps except the final I just use the standard elevators for that, but in the last map i made acustom situation where you "wake up" from a testing experimen "dream" in the hotel room.

There's a button to finish the campaign there and I tried to do it like the following

I named the global pti ents workshop_global_ents,

I then make the button do

onpressed
workshop_global_ents
instance:@@relay_pti_level_end:Trigger

But i dont see the map name coming in conole with that action.

This custom finale area is an instance (modified elevator), so do I need to do something else to make it work ?

Advertisement
Registered users don't see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted Apr 16, 2014
Replied 32 minutes later
You shouldn't need two @ signs in the input. (It should autocomplete.) Since the relay is named with an @, it will always be called that so you don't actually need to send an input to the instance - send the Trigger input to @relay_pti_level_end, which should work fine.
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 16, 2014
Replied 2 minutes later
Just onpressed @relay_pti_level_end trigger

@- is a thingy that saves you from going through the instance i/o

Advertisement
Registered users don't see ads! Register now!
Avatar
CosmicD
125 Posts
Posted Apr 17, 2014
Replied 8 hours later
Thanks, that worked