The outcome of removing events with other nested events inside.

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
BajMic
Posts: 78
Joined: January 24th, 2023, 1:22 am

The outcome of removing events with other nested events inside.

Post by BajMic »

Hello,

Dear WML users. I have a following case:
Event A has an event B nested inside of it. So if Event A is activated, it creates a "side turn X" event B inside of it. If the event A is deleted before the turn X, would that prevent activation of the unit B nested within when turn X comes?

Sincerely,
MB
User avatar
Ravana
Forum Moderator
Posts: 3331
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: The outcome of removing events with other nested events inside.

Post by Ravana »

No.
User avatar
lhybrideur
Posts: 464
Joined: July 9th, 2019, 1:46 pm

Re: The outcome of removing events with other nested events inside.

Post by lhybrideur »

Will it not?
I would say it will, as event B is created by the firing of event A. That's part of the whole of nested events.
I would still fire if event A is deleted after its first firing, for a first_time_only=no event A, though.
User avatar
Spannerbag
Posts: 793
Joined: December 18th, 2016, 6:14 pm
Location: Yes

Re: The outcome of removing events with other nested events inside.

Post by Spannerbag »

FWIW I find [filter_condition] much more straightforward and can be applied in most situations. :)
(Also mentioned in nested event example).
Both the above links refer to the eventWML page.
Just a possible alternative?

Cheers!
-- Spannerbag
SP Campaigns: After EI (v1.14) Leafsea Burning (v1.18, v1.16)
I suspect the universe is simpler than we think and stranger than we can know.
Also, I fear that beyond a certain point more intelligence does not necessarily benefit a species...
Post Reply