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

A way to teleport/move to new location every round?

HOT
broken avatar :(
Created 9 years ago
by tannnnnaiirrr
0 Members and 1 Guest are viewing this topic.
5,045 views
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 7 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
now its " uninitialized variable 'teleport point' "
Add
Code Snippet
Plaintext
	teleportPoint = undefined;
to
Code Snippet
Plaintext
moveAllPlayers()
{
//DUKIP - Grab total players and randomize the array.
players = get_players();
players = array_randomize( players );
//DUKIP - Grab our tp structs and randomize the array.
tp_points = GetStructArray("player_teleport_point", "targetname");
tp_points = array_randomize( tp_points );
useSameTPPoint = false;
//DUKIP - It goes here!
teleportPoint = undefined;

Edit: no idea if you saw this for this block
Code Snippet
Plaintext
tp_points = array_remove(tp_points, teleportPoint);
the if statement above it, replace the 80 with 20.
Last Edit: February 25, 2015, 01:16:32 am by DidUknowiPwn
broken avatar :(
×
broken avatar :(
Location: usindiana
Date Registered: 8 December 2013
Last active: 8 years ago
Posts
235
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
tannnnnaiirrr's Groups
Add
Code Snippet
Plaintext
	teleportPoint = undefined;
to
Code Snippet
Plaintext
moveAllPlayers()
{
//DUKIP - Grab total players and randomize the array.
players = get_players();
players = array_randomize( players );
//DUKIP - Grab our tp structs and randomize the array.
tp_points = GetStructArray("player_teleport_point", "targetname");
tp_points = array_randomize( tp_points );
useSameTPPoint = false;
//DUKIP - It goes here!
teleportPoint = undefined;

Edit: no idea if you saw this for this block
Code Snippet
Plaintext
tp_points = array_remove(tp_points, teleportPoint);
the if statement above it, replace the 80 with 20.
Sir, you have made my day! thanks sooo much!
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 7 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
No problem, if you could shoot over a video of it that would be awesome :) I wanna see if I got the fade to black to origin and exit back right. (Also I just wanna see it XD, shoot me a PM if you don't want to make it public.)

Edit: Mark the topic as solved if everything is good.
Last Edit: February 25, 2015, 01:25:25 am by DidUknowiPwn
broken avatar :(
×
broken avatar :(
Location: usindiana
Date Registered: 8 December 2013
Last active: 8 years ago
Posts
235
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
My Contact & Social Links
More
×
tannnnnaiirrr's Groups
No problem, if you could shoot over a video of it that would be awesome :) I wanna see if I got the fade to black to origin and exit back right. (Also I just wanna see it XD, shoot me a PM if you don't want to make it public.)

Edit: Mark the topic as solved if everything is good.
Yeah let me wip up a quick video, I'll post it here! (I just started the map, so nothing is really done yet)

Double Post Merge: February 25, 2015, 02:04:26 am
No problem, if you could shoot over a video of it that would be awesome :) I wanna see if I got the fade to black to origin and exit back right. (Also I just wanna see it XD, shoot me a PM if you don't want to make it public.)

Edit: Mark the topic as solved if everything is good.
OK so youtube isn't processing videos tonight... I'll send you a link on twitter when it is done

Double Post Merge: February 25, 2015, 03:40:03 am
No problem, if you could shoot over a video of it that would be awesome :) I wanna see if I got the fade to black to origin and exit back right. (Also I just wanna see it XD, shoot me a PM if you don't want to make it public.)

Edit: Mark the topic as solved if everything is good.
http://youtu.be/hkEb9z9PGa0
Last Edit: February 25, 2015, 03:40:03 am by tannnnnaiirrr

 
Loading ...