Jump to content

scripting - activate/deactivate


Recommended Posts

Hello! Lately i try do some map modding and I have a teleport which leads to the duel7 map. I would like to make this teleport to turn on/off with a button. So instead of entities I tried with icarus and while I can deactivate the teleport I cannot activate it again. 

 

Here is the code:

 

icarus.jpg
 
duel7_tele_parm -> trigger_multiple (for button) which targets a target_scriptrunner running the script above
duel7_tele -> trigger_multiple for teleport, targetting a target_teleporter which is pointed to a misc_teleporter_dest
 
Can someone help me?
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...