Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spawnCondition field to all entities #335

Open
XenonA7 opened this issue Oct 15, 2024 · 0 comments
Open

Add spawnCondition field to all entities #335

XenonA7 opened this issue Oct 15, 2024 · 0 comments
Labels
easy fix Issues that don't require much work to fix help wanted

Comments

@XenonA7
Copy link

XenonA7 commented Oct 15, 2024

Krypek discovered that spawnCondition is a global property that all entities can have. The map editor already supports spawnCondition for various entities like props because spawnCondition is a defined attribute in the code of ig.ENTITY.Prop.

However, something like ig.ENTITY.Door does not have it as an attribute and thus the map editor doesn't let you define it. Yet you can add spawnCondition to a Door entity using json and it works like any other entity with spawnCondition.

I needed to use this for a door recently, it would help if the map editor let you define spawnCondition for all entities.

@Vegita2 Vegita2 added help wanted easy fix Issues that don't require much work to fix labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy fix Issues that don't require much work to fix help wanted
Projects
None yet
Development

No branches or pull requests

2 participants