I would still like an "On Created" event

Sometimes I still wish there was an “on created” event. It would make sure that things are only affected by the event when created and not afterwards. This would make certain that events couldn’t modify objects after creation.

Make a behavior and attach it to the object.There is an oncreated lifecycle logic item that will only be triggered once the object is created.

From what I remember, there can’t be a condition for it because conditions do object selection, and a special event type wouldn’t be able to stop you from targeting other objects in the same event.

That said, do note that in a normal event, every action targeting the same object after it was created (in the same event) will only affect the created object instance unless you add conditions to target other instances.

3 Likes

There are times when I’ll use a boolean object variable like placed. Set it to false be default and then check if placed is false. Afterwards, set placed to true.

1 Like