From c8f013e22a6093cd85609c9ef7390e68503981dc Mon Sep 17 00:00:00 2001 From: n123 <213514810+n123git@users.noreply.github.com> Date: Fri, 24 Jul 2026 22:27:09 +0100 Subject: [PATCH] small tweaks --- modding-guides/general/define-triggers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modding-guides/general/define-triggers.md b/modding-guides/general/define-triggers.md index c849565..cf7c7ad 100644 --- a/modding-guides/general/define-triggers.md +++ b/modding-guides/general/define-triggers.md @@ -44,9 +44,9 @@ Now that your trigger is defined, you now need to attach code that will execute * If you defined a global trigger, decompile `seq/common_trigger*.xq`. * If you defined a map trigger, decompile `data/res/map//.pck|.xq`. * The `*` refers to versioning, so instead of just `common_trigger.xq` you might also see files such as `common_trigger_0.03c.xq`. Pick the one with the highest version. -* Next, define a function called `RunCmd_Map`. Take for instance, if you had a `FunctionCallback` of `100`: +* Next, define a function called `RunCmd_` (replace `` with either `Map` or `Common`). Take for instance, if you had a `FunctionCallback` of `100`: ```php -RunCmd_Map100() +RunCmd_Map100() // or RunCmd_Common100() { // insert code here, for example: $local1 = return_title();