Skip to content

Redefining a trigger code seems to inherit from the base definition instead of replace. #320

@Blzut3

Description

@Blzut3

Original report by Adam Biser (Bitbucket: adambiser, GitHub: adambiser).


    trigger 92
    {
        action = "Door_Open";
        arg1 = 16;
        arg2 = 300;
        arg3 = 0; // without this line, the door remains "locked" as if arg3 = 1 like in wolf definition
        playeruse = true;
        monsteruse = true;
        repeatable = true;
        activatenorth = false;
        activatesouth = false;
    }

To remove the elevator switch trigger, I needed to do:

	trigger 21
	{
		action = "";
		playeruse = false;
		activateeast = false;
		activatewest = false;
		activatenorth = false;
		activatesouth = false;
	}

but expected to only need this

	trigger 21 { }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions