Skip to content

Implements various RA2, YR and new trigger event actions.#889

Open
CCHyper wants to merge 7 commits into
Vinifera-Developers:developfrom
CCHyper:dev/taction-tevent-dbg
Open

Implements various RA2, YR and new trigger event actions.#889
CCHyper wants to merge 7 commits into
Vinifera-Developers:developfrom
CCHyper:dev/taction-tevent-dbg

Conversation

@CCHyper

@CCHyper CCHyper commented Oct 6, 2022

Copy link
Copy Markdown
Contributor

Reference: #717

This pull request implements various trigger events from Red Alert 2, Yuri's Revenge and additional new event types.

For these new events to be evaluated, NewINIFormat must be set to 5.

NOTE: Lines that are "stricken out" are reserved for future use.

From Red Alert 2;

56 "Spy entering as House..."
-- "Triggers if a spy disguised as house specified enters this."

57 "Spy entering as Infantry..."
-- "Triggers if a spy disguised as this type of infantry enters."

58 "Destroyed, Units, Naval..."
-- "Triggers when all naval units of the specified house have been destroyed. Typically used for end of game conditions."

59 "Destroyed, Units, Land..."
-- "Triggers when all land units of the specified house have been destroyed. Typically used for end of game conditions."

60 "Building does not exist"
-- "Triggers when the building (owned by the house of this trigger) specified does not exist on the map."

61 "Power Full..."
-- "Triggers if the specified house's power is at 100%."

62 "Entered or Overflown By..."
-- "Triggers when unit, infantry, or aircraft move over this cell. <THEM = House of entering unit>."

From Yuri's Revenge;

~~63 "TechType Exists"
-- "True if there are at least this many of this type, belonging to anyone."

64 "TechType does not Exist"
-- "True if there are none of these on the map at all. Number doesn't mean anything."

65 "TechType Exists"
-- "True if there are at least this many of this type, belonging to anyone."

66 "TechType does not Exist"
-- "True if there are none of these on the map at all. Number doesn't mean anything."

New;

67 "Power Less Than..." (Float)
-- "Triggers if the specified house's power is less than or equal to the value specified."

68 "Power Greater Than..." (Float)
-- "Triggers if the specified house's power is greater than or equal to the value specified."

69 "Destroyed, Infantry, All..."
-- "Triggers when all infantry of the specified side have been destroyed. Typically used for end of game conditions."

70 "Construction yard exists"
-- "Triggers if the specified house has one or more construction yards."

71 "Mission Timer Less Than" (Integer)
-- "Triggers when the mission timer drops below the time value specified."

72 "Mission Timer Greater Than" (Integer)
-- "Triggers when the mission timer is above the time value specified."

73 "Mission Timer Equals" (Integer)
-- "Triggers when the mission timer equals time value specified."

Also included in this pull request is additional developer console logging for when trigger actions are executed. This can be used to help debug the trigger scripting process for map creators. Example screenshot below;
image

@CCHyper CCHyper added the developer-feature A feature intended for developers only. label Oct 6, 2022
@CCHyper CCHyper requested a review from a team October 6, 2022 01:31
@github-actions

github-actions Bot commented Oct 6, 2022

Copy link
Copy Markdown

This comment is automaticly generated by Nightly.link and allows non-registered users to get download the artifacts for this pull request.

These links are also updated when the pull request is pushed to.

@CCHyper CCHyper force-pushed the dev/taction-tevent-dbg branch 3 times, most recently from 2010e35 to 35d6da1 Compare October 6, 2022 17:53
@CCHyper CCHyper changed the title Adds developer console printing for when trigger actions are executed. Implements various RA2, YR and new trigger event actions. Oct 6, 2022
@CCHyper CCHyper force-pushed the dev/taction-tevent-dbg branch from d9f7448 to 288c6a5 Compare October 7, 2022 13:35
@CCHyper CCHyper force-pushed the develop branch 2 times, most recently from 07c9446 to 379970b Compare November 9, 2022 14:53
@CCHyper CCHyper force-pushed the develop branch 3 times, most recently from 48cd2ea to b789478 Compare December 22, 2022 08:32
@CCHyper CCHyper added this to the RA2/YR Features milestone Dec 27, 2022
@CCHyper CCHyper force-pushed the develop branch 3 times, most recently from d649039 to 5a6cb19 Compare February 24, 2023 11:01
@CCHyper CCHyper self-assigned this Mar 28, 2023
@CCHyper CCHyper force-pushed the dev/taction-tevent-dbg branch 8 times, most recently from 2af1b4d to c54088d Compare December 28, 2023 15:53
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from c3e7349 to 0a8e674 Compare November 27, 2024 12:27
@ZivDero ZivDero force-pushed the develop branch 3 times, most recently from ff8fc5d to 29067a6 Compare February 22, 2025 22:14
@ZivDero ZivDero force-pushed the develop branch 4 times, most recently from ff0d5d0 to 9ef6826 Compare March 22, 2025 02:13
@ZivDero ZivDero force-pushed the develop branch 5 times, most recently from acea927 to afcc4b3 Compare April 8, 2025 12:03
@ZivDero ZivDero force-pushed the develop branch 3 times, most recently from 051b8a2 to 4b2c0de Compare June 23, 2025 21:39
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from f1e4083 to d531586 Compare July 17, 2025 07:44
@ZivDero ZivDero force-pushed the develop branch 3 times, most recently from 1d90162 to a4dc810 Compare November 19, 2025 01:49
@ZivDero ZivDero force-pushed the develop branch 2 times, most recently from 37e5780 to 10db70f Compare December 6, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

developer-feature A feature intended for developers only.

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

1 participant