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

making the rounds wait until after a vehicle path is completed

broken avatar :(
Created 11 years ago
by buttkicker845
0 Members and 1 Guest are viewing this topic.
2,235 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 5 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
how would i make the rounds wait to start until after a vehicle path has completed its path? ive tried making a wait statement before level rounds_start(); in _zombiemode but the player doesnt get linked to the vehicle until after the rounds have started. does anyone know how to do this? thank you in advanced if anyone knows how to do it :)
Marked as best answer by buttkicker845 11 years ago
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 22 September 2013
Last active: 6 months ago
Posts
326
Respect
Forum Rank
Perk Hacker
Primary Group
Mapper
My Groups
More
Personal Quote
Zombie Mapper and Gamer
Signature
My Custom Zombie Maps:

- Nazi zombie Legion
- City of Hell
- The Abandoned Mine
- The Last Undead House (Finished)

more custom zombie maps coming soon
×
gamer9294's Groups
Mapper Has released one or more maps to the UGX-Mods community.
gamer9294's Contact & Social Links
Hello Buttkicker845,

you can try by the function: rounds_start() 

add the wait(value); on the first line after the function;

here is a example:
 

Code Snippet
Plaintext
rounds_start()
{
     wait(60); //60 is example but change it to how long it needs to wait before the players are archived at the point where the players most be.
     //the other stock scripts here


best regards,
Gamer9294
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 5 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
wow i feel dumb, i could have swore i tried that already. anyways thanks for your help :)
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 22 September 2013
Last active: 6 months ago
Posts
326
Respect
Forum Rank
Perk Hacker
Primary Group
Mapper
My Groups
More
Personal Quote
Zombie Mapper and Gamer
×
gamer9294's Groups
Mapper Has released one or more maps to the UGX-Mods community.
gamer9294's Contact & Social Links
wow i feel dumb, i could have swore i tried that already. anyways thanks for your help :)

no problem man, you welcome.

you can also try a flag function.

when you come on the start location and when you can move and shoot with the controls then you set a flag and a flag wait on the starting round.

like this as a example:

Code Snippet
Plaintext
flag_init("intro_vehicle_done"); //place this on the main or init function of the script

Code Snippet
Plaintext
flag_set("intro_vehicle_done"); //place this where you want that then the round will start

Code Snippet
Plaintext
flag_wait("intro_vehicle_done"); //place this where I say about the wait(60); code, on the first line of the round_start(); function.


that most work the flag_wait that you place is that the script will hold there and when the flag_set is readed by the script then the flag_wait will read down (or better sayed:  it waits untill the flag is setted then the round will start)


best regards,
Gamer9294
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 3 years 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.
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
I believe reached_end_node is the proper notify, it's used in a bunch of scripted events for vehicles in SP.
Code Snippet
Plaintext
entity waittill("reached_end_node");
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 11 March 2014
Last active: 5 years ago
Posts
264
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
×
buttkicker845's Groups
buttkicker845's Contact & Social Links
Quote
I believe reached_end_node is the proper notify, it's used in a bunch of scripted events for vehicles in SP.
Code: [Select]
entity waittill("reached_end_node");

thanks this is helpful to know! how would i test for a certain node in the path instead of just the end node? for instance playing a sound at a certain node?

would it be something like
Code Snippet
Plaintext
entity waittill ("reached_certian_node");

 
Loading ...