Jump to content

Start a Created Map with Gates locked


Recommended Posts

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?

Link to post
Share on other sites
  • 2 weeks later...
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.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...