Code:
FUNCTION level_change()
{
if (EVENT_TYPE == event_impact)
{
g=1;
}
}
ACTION zone_block
{
my.alpha = 0;
my.transparent = on;
my.enable_impact = on;
my.event = level_change();
}
i try to find out the problem of my level changing
so i remove all the coding in the function and change to g=1 but it still give me the same error.
it look like it will happen as long my.event = level_change is there.
as long the function triger by my.event is not one of the function in my
Action player1_action, it give the same problem
anyone have any idea on solving this problem?