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

Disable trigger in-between rounds

broken avatar :(
Created 7 years ago
by whippytrout
0 Members and 1 Guest are viewing this topic.
1,321 views
broken avatar :(
×
broken avatar :(
Location: usgeorgia
Date Registered: 24 April 2013
Last active: 8 months ago
Posts
560
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Mapper
×
whippytrout's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
whippytrout's Contact & Social LinksWhippyTroutWhippyTrout
Hey guys,

I'm trying to finish up my Alcatraz map but I have one game breaking bug. If a player uses my teleporter while the rounds are changing it messes up everything. I have a boss that spawns when you teleport but if you teleport in-between rounds a bunch of bosses spawn and there is no way to survive, that trust me.

So how can I disable my trigger or deny the player from teleporting when in-between rounds? I've tried for 5+ hours today and can't figure it out.

Thanks,

Whippy
Marked as best answer by whippytrout 7 years ago
broken avatar :(
×
broken avatar :(
Location: aupotato
Date Registered: 27 September 2013
Last active: 3 years ago
Posts
588
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
respect the dead

donates greatly appreciated :) paypal.me/F3ARxReaper666
discord server:
https://discord.gg/tsGHW99
×
death_reaper0's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
look for

Code Snippet
Plaintext
		level thread spectators_respawn();

level thread chalk_round_hint();

in _zombiemode.gsc

and see if

Code Snippet
Plaintext
		level notify("round_finish");

is above it, if not add it (not sure if that was something i added to my script or not)

then make your trigger use this function
Code Snippet
Plaintext
trigger thread disable_between_rounds();


Code Snippet
Plaintext

disable_between_rounds()
{
while(1)
{
level waittill("round_finish");
self hide();
level waittill("between_round_over");
self show();
}
}

broken avatar :(
×
broken avatar :(
Location: usgeorgia
Date Registered: 24 April 2013
Last active: 8 months ago
Posts
560
Respect
Forum Rank
Zombie Enslaver
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
×
whippytrout's Groups
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
whippytrout's Contact & Social LinksWhippyTroutWhippyTrout
That works great! Thank you so much.  :nyan:  :nyan:  :nyan:  :nyan:  :nyan:  :nyan:  :nyan:
Last Edit: March 27, 2017, 04:36:50 am by whippytrout

 
Loading ...