I know 0% about this entity and I never used it, also I searched for a solution but found none (maybe searched for the wrong thing...).
How can I call a function from an if entity?
at, mapname.lua:
1
2
3
2
3
function fn() msg("test") end
How to call fn() from the if entity? I don't want the function to be in the if statement I just want to call it.