UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

how do i do random teleports

broken avatar :(
Created 13 years ago
by GeneralJJ
0 Members and 1 Guest are viewing this topic.
2,702 views
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 27 August 2013
Last active: 11 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
GeneralJJ's Groups
GeneralJJ's Contact & Social Links
Just wondered how You go about having the Mainframe (trigger_teleport_core), teleport to 1 of the other teleport pads randomly, instead of the pads teleporting you to an origin. Or any teleporter sending you to any other teleporter at random.

Ofc all pads need to be linked like usual to be activated.

and also, could you have a dedicated Kino Style Teleporter set up aswell?
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 7 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Well technically all the teleporters in cod just send you to an origin, of course with some added effects. All these teleporters would need to contain is an FX origin half way into the ground on the mainframe and teleporters, 4 Player spawns at each, and a trigger use inside the teleporter for a player to activate. I won't go into extreme detail but pretty much you are setting all the spawnpoints into an array. If you would like this to be more clean you can use multi arrays. In english "an array within an array" so you can specify a random index in that array for your players to be teleported to using the RandomInt function.

For all the pads needing to be linked you could just set a subvar for each pad that has true or false to tell if it's activated or not.
Last Edit: November 03, 2013, 12:43:23 pm by SajeOne
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 27 August 2013
Last active: 11 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
GeneralJJ's Groups
GeneralJJ's Contact & Social Links
so, random teleports can be done, cool. As for understanding what you said,  :alone:

Could I also have a specific teleporter Kino style for the PaP.
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 7 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Could I also have a specific teleporter Kino style for the PaP.
Yes.
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 27 August 2013
Last active: 11 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
GeneralJJ's Groups
GeneralJJ's Contact & Social Links
Sajeone, Would you be able to show me what I need to do to make this happen ? I haven't a clue where to start!!

 
Loading ...