Skip to content

[New Feature] Use House/Country ID instead of list index in map triggers and script actions #281

@TAK02

Description

@TAK02

Description:

Allow map Trigger Actions and Script Actions to use both the ID and the list index for their parameters.

This request is specifically for everything with House# on ModEnc: https://modenc.renegadeprojects.com/ScriptTypes/ScriptActions & https://modenc.renegadeprojects.com/Actions_(maps)/RA2YR

But there's more; things like Theme#, Speech#, etc.

ScriptActions: 20 "Change House Ownership"
map Actions: 1 "Win", 2 "Lose", 3 "Production begins", ..., 14 "Change House", ..., 36 "All Change House", etc.

Possible Implementation:

[Houses]
...
7=Confederation

[Actions]
01000018=1,36,0,7,0,0,0,0,A

parsable as

[Actions]
01000018=1,36,0,Confederation,0,0,0,0,A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions