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

zoning help

broken avatar :(
Created 6 years ago
by conrad.multan
0 Members and 1 Guest are viewing this topic.
1,901 views
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 3 October 2016
Last active: 5 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hi There
Signature
HELP ME IM A NOOB
×
conrad.multan's Groups
I am very new to scripting and am having trouble with zoning... I have a small map however I only want zombies to spawn in the zone that the player is in, A big problem I have with this is that I have a teleporter and when I teleport the zombies don't get activated with the adjacent script so idk what to do.
Marked as best answer by conrad.multan 6 years ago
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
Signature
Tears Of The Fallen | Join the project https://discord.gg/8gDNQRj
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
If you want the zombies to spawn only in the zone you are currently in, you just need to add the zones like this:
Code Snippet
Plaintext
 zones = [];
zones[ zones.size ] = "start_zone" ;
zones[ zones.size ] = "zone2" ;
With this method you don't need to use script_flags. Just use doors to block the player from touching the zones you don't wont to be active.
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 3 October 2016
Last active: 5 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hi There
×
conrad.multan's Groups
So where I would normaly put add_adjacent zone I would put that in?
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Search for start_zone and paste your zones under it like i did above.
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 3 October 2016
Last active: 5 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hi There
×
conrad.multan's Groups
Thanks a lot :)

Double Post Merge: February 26, 2018, 10:08:42 pm
Hey, im really sorry to bother you again but how would i make them despawn if i leave a zone, like im in one zone, teleport to another and the zombies would teleport or respawn in the current zone.
Last Edit: February 26, 2018, 10:08:42 pm by conrad.multan
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
Thanks a lot :)

Double Post Merge: February 26, 2018, 10:08:42 pm
Hey, im really sorry to bother you again but how would i make them despawn if i leave a zone, like im in one zone, teleport to another and the zombies would teleport or respawn in the current zone.
Maybe you could kill them instead of respawning?
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 3 October 2016
Last active: 5 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hi There
×
conrad.multan's Groups
sorry im really new to scripting, How would I do that?
broken avatar :(
×
broken avatar :(
Location: deDortmund
Date Registered: 20 December 2015
Last active: 5 months ago
Posts
307
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
Personal Quote
Payback
×
fanmagic's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
fanmagic's Contact & Social LinksTears Of The Fallen
sorry im really new to scripting, How would I do that?
I will do it for you, when im at home. :)
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 3 October 2016
Last active: 5 years ago
Posts
28
Respect
Forum Rank
Legless Crawler
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Hi There
×
conrad.multan's Groups
ok thanks

Double Post Merge: February 28, 2018, 06:41:47 am
Hey I just found a fix for this so no need for this one just the boss fight help
Last Edit: February 28, 2018, 06:41:47 am by conrad.multan

 
Loading ...