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

Wait 'Event' inbetween 2 specified rounds

broken avatar :(
Created 10 years ago
by mrpeanut188
0 Members and 1 Guest are viewing this topic.
1,517 views
broken avatar :(
×
broken avatar :(
Location: usCali(fornia)
Date Registered: 21 December 2013
Last active: 4 years ago
Posts
418
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Signature
The sound of God is the screech of tires, lights and magnets, bolts and wires. Strayed from the road, this very one, still to come. The sound of tires is the sound of God, the electric version.
×
mrpeanut188's Groups
mrpeanut188's Contact & Social Linksmrpeanut1881337p34nutmrpeanut188
You know that section after a round, where you hear the round end sound and the round indicator starts to pulse white and red? I want the section inbetween rounds 5 and 6 to execute an event, then wait one minute before the round triggers again.

I've looked around but I can't find where in hell I would place the hook to extend the time. I know it should be in _zombiemode.gsc, but I'm having trouble finding the function. I've also checked _zombiemode_spawners.gsc.

My best guess on where to place it is function round_think() in _zombiemode.gsc.
I don't know where in the function I'd place it though, before everything starts spawning.
Last Edit: May 25, 2014, 05:32:50 am by mrpeanut188
Marked as best answer by mrpeanut188 10 years ago
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 4 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter Elite
My Groups
More
×
YaPh1l's Groups
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
Code Snippet
Plaintext
		level thread spectators_respawn();

// round_text( &"ZOMBIE_ROUND_END" );
level thread chalk_round_hint();

wait( level.zombie_vars["zombie_between_round_time"] );
Somewhere here, depending on what exactly you want to achieve.

- Phil.

 
Loading ...