)>SoL<(~JK2 Worldwide
)>SoL<(~JK2 Worldwide
)>SoL<(~JK2 Worldwide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

)>SoL<(~JK2 Worldwide

The Torch of Fair Play and Bonfire of Equality and Democracy
 
HomePortalSearchRegisterLog in
Sunrise of Liberty Reunion!
Take a look at holiday party!

 

 trigger help

Go down 
2 posters
AuthorMessage
boss_master




Posts : 36

trigger help Empty
PostSubject: trigger help   trigger help Icon_minitimeSun 22 Nov 2015, 8:43 am

hello sol sons.
does anyone know how can i make a trigger that can be used on a person?
lets say in the server there is a person called Jan and i want to teleport jan to office.
!tele_office jan

i make the trigger tele but how do i make it work on the player i specify?
Back to top Go down
Xasomur

Xasomur


Posts : 13101

trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitimeSun 22 Nov 2015, 9:41 am

that depends on the mod you use. in our mod there is a special sign that means "specified player", while that player in dcmod1.2 can either specified by player's name or player's number.
Back to top Go down
boss_master




Posts : 36

trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitimeSun 22 Nov 2015, 9:36 pm

dont you guys use dcmod on your server? thats what i need , a special sign in dcmod.
also how do u specify a player who uses space in his name , like "X A S O" , without using the number.
Back to top Go down
Xasomur

Xasomur


Posts : 13101

trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitimeSun 22 Nov 2015, 10:42 pm

sorry, I didn't know you'd use dcmod too. Sometimes "!" has a special use in other mods.

seta dc_trigger1 "!tele_office"
seta dc_trigger2 "!tele_office_invite"

seta dc_triggeraction1 "dctele &i xxx yyy zzz"
seta dc_triggeraction2 "dctele &1 xxx yyy zzz"

xxx yyy zzz are the coordinates of the teleport. the name of the trigger can be anything of course.
note the difference: &i will tele the player who uses the trigger, while &1 will tele the one you specify. (e.g. "!tele_office_invite jan" will tele jan)
your question concerning spaces is good... I have no idea and I am not sure if it's possible. I am quite sure this is not a problem of the dcmod trigger setup, since you cannot alter the &1 thingy. It's a problem within the game, that ppl can use spaces and that the " sign doesn't really work ingame. Otherwise I'd recommend to try out ingame this:
!tele_office_invite "x a s o" (with the " signs, but it's just guessing here)
Back to top Go down
boss_master




Posts : 36

trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitimeSun 22 Nov 2015, 10:47 pm

i tried the "x a s o" and it doesnt work.the &1 should work.Thank you very much
Back to top Go down
Xasomur

Xasomur


Posts : 13101

trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitimeSun 22 Nov 2015, 10:59 pm

no problem Smile
I guess ppl with spaces in their names then don't want to be teleported ^^
Back to top Go down
boss_master




Posts : 36

trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitimeMon 23 Nov 2015, 12:03 am

tell me , is there any command to grant bubble to a player? like amprotect?
Back to top Go down
Sponsored content





trigger help Empty
PostSubject: Re: trigger help   trigger help Icon_minitime

Back to top Go down
 
trigger help
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
)>SoL<(~JK2 Worldwide :: )>SoL<(~Free Chat :: Modding - Skins - Maps-
Jump to: