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

Looped map spawn help

broken avatar :(
Created 10 years ago
by krimzon
0 Members and 1 Guest are viewing this topic.
1,609 views
broken avatar :(
×
broken avatar :(
Location: usIndiana
Date Registered: 13 September 2013
Last active: 2 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
krimzon's Groups
krimzon's Contact & Social Links
I have a Der reise style map that loops with my zones set
doors in place with triggers on each side of each door with kvps only changed for the enter_zone_[filler] for each side depending whether you go right or left
my issue is my door can only target the set of spawners one way since the target is set by the door and not the trigger
ie door2 going right= target:zone_2_spawners
but what if i wanted to go left opening the door from the other side triggers the spawners from the zone i'm leaving
how can i make door2 [going right it targets zone_2_spawners] target zone_1_spawners if I'm going left but still target zone_2_spawners if bought from the right

my only guess is removing the function from the door and moving it to a separate trigger overlapping my buy trigger on each side targeting the spawners in said direction.
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 3 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
Signature
"Deleted code is debugged code." - Jeff Sickel
"Mathematicians stand on each others' shoulders and computer scientists stand on each others' toes." - Richard Hamming
×
JR-Imagine's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Let's say you want to go from the kitchen to the hall and the other way around, you should then add this in your mapname.gsc in your dlc3_zone_init function:

Code Snippet
Plaintext
add_adjacent_zone( "kitchen", "hall", "enter_kitchen_hall" );
add_adjacent_zone( "hall", "kitchen", "enter_kitchen_hall" );

That should do it. :P
broken avatar :(
×
broken avatar :(
Location: usIndiana
Date Registered: 13 September 2013
Last active: 2 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
krimzon's Groups
krimzon's Contact & Social Links
i've got adj zones covered but my door only triggers the spawners ahead of me if i go right, if i go left then the spawners are triggered in the room i'm already in when i open that same door from the other side on a seperate playthrough
broken avatar :(
×
broken avatar :(
Location: usIndiana
Date Registered: 13 September 2013
Last active: 2 years ago
Posts
66
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
krimzon's Groups
krimzon's Contact & Social Links
i think i've figured out my issue
 i really don't even need the door to target spawners cause that was the old way of doing it
  in a der reise style map its all covered by zoning
 you do have to be careful about putting your triggers too close to the door though
cause you can trigger both sides and mess up spawns
Last Edit: November 11, 2013, 01:35:54 am by krimzon

 
Loading ...