HiHo


I want to turn this code into lite-c:

c-script:
Quote:

action door_schalter
{
my.enable_scan = on;
my.event = scan_event;
}


and got this:

lite-c:
Quote:

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 smirk

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 smirk


My System:
Intel Core 2 Duo CPU P8400 @ 2.26 GHz
4 GB Ram
NVIDIA GeForce 9600M GT
32 Bit Windows Vista
***********************************
Gamestudio Pro 7.50 / WED V6.875