Welcome to the Builder Academy

Question teleport trigger help

More
15 Sep 2017 20:10 #6884 by JTP
teleport trigger help was created by JTP
trying to make a room with no exits, that when a player enters it, they will be teleported to prison after 60 s. But nothing happends.
Code:
Trigger Editor [11900] 1) Name : room teleport prison 2) Intended for : Rooms 3) Trigger types: Enter 4) Numeric Arg : 100 5) Arguments : 6) Commands: wait 60 s %teleport% all 11900 %force% all look W) Copy Trigger Q) Quit

Also tried with %actor% instead of all, but noone gets teleported.

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 21:32 #6885 by Parnassus
Replied by Parnassus on topic teleport trigger help
The trigger system doesn't recognize "all" in this way. First you need to decide, all what? Mobs? Players? Objects? Once that's decided, you need to write a loop. An example of this type of loop can be found here or here.

I'm surprised that you said that %teleport% %actor% 11900 didn't work so I'm going to have to ask: are you using an admin character or a player character? Triggers don't work on high level admin. Lower levels have to check that nohassle is off.

Because I like to show off, I'd also suggest you check out my triggering tips and part 2. And just for fun, I'll toss in a note about trigger testing.

Have fun with your triggers and good luck!

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 21:42 - 15 Sep 2017 21:49 #6886 by JTP
Replied by JTP on topic teleport trigger help
I ofc tested %teleport% %actor% with a mortal.

And yes i dont see why it dont work.....I only tried with all since %actor% didnt work. And could be that a group entered the room, and all ws to be teleported to 11990.
Last edit: 15 Sep 2017 21:49 by JTP.

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 21:45 #6887 by Parnassus
Replied by Parnassus on topic teleport trigger help
Have you tested that the trigger is working as expected by tossing in an echo and/or send?

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 21:51 #6888 by JTP
Replied by JTP on topic teleport trigger help
Commands:
wait 60 s
%echo% TEST
%teleport% %actor% 11990
%force% all look

The echo didnt fire either :/

Please Log in or Create an account to join the conversation.

More
15 Sep 2017 21:53 - 15 Sep 2017 21:54 #6889 by JTP
Replied by JTP on topic teleport trigger help
This works just fine:

Trigger Intended Assignment: Rooms
Trigger Type: Enter , Numeric Arg: 100, Arg list: None
Commands:
wait 1 s
%echo% Bla bla bla
wait 15 s
Last edit: 15 Sep 2017 21:54 by JTP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.212 seconds