nsg3 Posted July 16, 2020 Report Share Posted July 16, 2020 I have a map I'm working on that I have some animals trapped inside of siege walls. There is a gate facing inward to give the illusion it can only be opened from the outside. Problem is when I start the match all of the animals run out of the pins through the gate. How do I make it so the Gate's default state is locked? Quote Link to comment Share on other sites More sharing options...
Stan` Posted July 16, 2020 Report Share Posted July 16, 2020 I believe you need to add a trigger script to do that. Maybe this would help https://github.com/0ad/0ad/blob/4f1363f616dbb15f617c5e97d67f3dcb388dc3e5/binaries/data/mods/public/maps/scenarios/triggers_demo.js 1 Quote Link to comment Share on other sites More sharing options...
SciGuy42 Posted July 28, 2020 Report Share Posted July 28, 2020 On 7/16/2020 at 9:18 AM, nsg3 said: I have a map I'm working on that I have some animals trapped inside of siege walls. There is a gate facing inward to give the illusion it can only be opened from the outside. Problem is when I start the match all of the animals run out of the pins through the gate. How do I make it so the Gate's default state is locked? Line 266 here: https://github.com/SciGuy42/Macedonia_0ad/blob/master/maps/scenarios/Macedonia_12.js Unfortunately, in practice it didn't work very well perhaps because the AI kept unlocking the gates. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.