HiHo
I want to turn this code into lite-c:
c-script:
action door_schalter
{
my.enable_scan = on;
my.event = scan_event;
}
and got this:
lite-c:
action door_schalter()
{
set(my,ENABLE_SCAN);
my.event = EVENT_SCAN;
}
The problem now is, the door get invisible.. in c-script, it worked.. it just worked fine.. but now the door get invisible
if i take the door_schalter action out of the object in MED, the door is there if i run.. but if i do the door_schalter into the object, the door gets invisible