The outcome of removing events with other nested events inside.
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.
The outcome of removing events with other nested events inside.
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
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
- lhybrideur
- Posts: 464
- Joined: July 9th, 2019, 1:46 pm
Re: The outcome of removing events with other nested events inside.
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.
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.
- Spannerbag
- Posts: 792
- Joined: December 18th, 2016, 6:14 pm
- Location: Yes
Re: The outcome of removing events with other nested events inside.
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

(Also mentioned in nested event example).
Both the above links refer to the eventWML page.
Just a possible alternative?
Cheers!
-- Spannerbag