Posts
1,895
Respect
907Add +1
Forum Rank
Zombie Destroyer
Primary Group
Community Scripter
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
I am trying to trigger a zone just by walking into the trigger. (A trigger in the zone I want to activate.) I am using a radius trigger because I wasn't getting results with a multiple trigger.
I've been at this for a couple days now, and have tried many things. I thought this last try was it but I can't seem to trigger the spawns in the new zone without using a zombie_door/magic_door that you have to buy. I am using something like this;
I have also tried putting the add adjacent zone code after the flag set. The code seems to work when I test with an iprintln either way, but it isn't activating the zombie spawns. Am I on the right track? Am I missing something else?
Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. | |
Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. | |
BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Got this from Yaphil on another site... I think it's what you need.
You need to make a custom script that allows trigger_multiple to have a script_flag so that you can use that to activate zones.
At the end of mapname.gsc
in your mapname.gsc, after _zombiemode::main()
The Zone needs to be set up just like any zone you would activate with a debris.
The trigger_multiple has targetname = flag_trigger and script_flag = whatever your zone needs it to be.
you just have to check if the player is touching then set the flag
you dont need to initiate the flag as it will be initiated by the zone manager.
i have activated zones like this and it works
you just have to check if the player is touching then set the flag
you dont need to initiate the flag as it will be initiated by the zone manager.
i have activated zones like this and it works
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
Can somebody show me an example of how this will look like when you add this in mapname.gsc so I know exactly where I should add all the lines, etc?
In your mapname.gsc before maps\_zombiemode::main(); add this
At the bottom of mapname.gsc add this... (assuming your next zone is zone1)
Don't I also have to add a flag_init for that?
Anyways, I'll reply here when I have got time to test it.
Thanks in the meantime .
Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. | |
Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
grant actually i think that you should add after zombiemode::main() not before. just add lines before zombiemode for precaching