)>SoL<(~JK2 Worldwide

The Torch of Fair Play and Bonfire of Equality and Democracy
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in
JK2 for Number 1!
Let us capture the victory!
A look at the table?
Fun events!
Want to organize an event or any to happen?
Post or ask for help here!
Black Flame!
No one has a Black Flame!
Come and conquer him!
Skin Add ons
Post your skins that you'd like to have!
Find details here!

Share | 
 

 trigger help

Go down 
AuthorMessage
boss_master



Posts : 36

PostSubject: trigger help   Sun 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
View user profile
Xasomur

avatar

Posts : 13091

PostSubject: Re: trigger help   Sun 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
View user profile
boss_master



Posts : 36

PostSubject: Re: trigger help   Sun 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
View user profile
Xasomur

avatar

Posts : 13091

PostSubject: Re: trigger help   Sun 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
View user profile
boss_master



Posts : 36

PostSubject: Re: trigger help   Sun 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
View user profile
Xasomur

avatar

Posts : 13091

PostSubject: Re: trigger help   Sun 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
View user profile
boss_master



Posts : 36

PostSubject: Re: trigger help   Mon 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
View user profile
Sponsored content




PostSubject: Re: trigger help   

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: