Skip to content

Emit a target trigger event for some VTriggers - #1002

Open
thokkat wants to merge 2 commits into
Try:masterfrom
thokkat:fix-trigger
Open

thokkat wants to merge 2 commits into
Try:masterfrom
thokkat:fix-trigger

Conversation

@thokkat

@thokkat thokkat commented Oct 4, 2026

Copy link
Copy Markdown
Collaborator

Based on testing triggerscript and zonetrigger send trigger events on OnTrigger call.

Observed in the mod Battle of the Kings where a script trigger calls itself to create sort of a game loop.

Based on testing triggerscript and zonetrigger send trigger events on
OnTrigger call.

Observed in the mod Battle of the Kings where a script trigger calls
itself to create sort of a game loop.
@thokkat

thokkat commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator Author

Small addition, don't call function in script trigger if name is empty. Mod uses them quite often like if it were normal non-script trigger causing bit of a log spam.
Added vob name to error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants