probably going to appear a naive idiot with this question.
Are there any limitations as to where I can place a function - I can create a function perfectly well in the screen-init script, but if I try and create the same function in a script which is linked to an entity I get a compiler error, any thoughts as to what I am doing wrong I
the function is very simple
function xray ()
{
Game.MSG("Hello");
return:
}
xray();