Skip to content

the MESSAGE function does not work inside the @HitMiss trigger #1507

@ted182

Description

@ted182

Within the @hitmiss trigger, the MESSAGE function doesn't work, nor does SRC.MESSAGE.
SYSMESSAGE works normally.

ON=@HitMiss    
    //<ARGO> = The weapon being used (can be nothing, if fists are used).
    //<I>	= The character doing the hitting.
    //<SRC> = The character who was missed.
    SRC.MESSAGE @,,1 miss!
    MESSAGE @,,1 miss!
    SYSMESSAGE @,,1 You missed the attack on <SRC.NAME>!
    RETURN 0

Afraid it could be on all combat triggers, I tested it on the @hit trigger and it worked correctly, the messages appeared over the respective heads (Player and NPC)

ON=@Hit    
    SRC.MESSAGE The character being hit.
    MESSAGE The character doing the hitting.
Image

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