Not sure if this is by design or a bug with the “trigger_if_equal” script command:
If you’re attempting to trigger something within the same entity, you can’t use the keyword “self”, you have to specify the entity name itself (sorry if my lingo is off).
So for example (pseduo):
game_manager
{
trigger some_trigger
{
accum 1 trigger_if_equal 1 self another_trigger
}
trigger another_trigger
{
}
}
causes it to spit out a
“G_Scripting: trigger has unknown name: another_trigger” error.
The word self has to be replaced with entity name “game_manager”
The error is only encountered right when that part of the script is executed, not during load time.
Just out of curiosity, is this by design, something that I might not be considering how the command works?

