Im used to work with events in C-Script. now i have started to code C-Lite.
and what I see. this code wont work. I have read the Migration Guide but i didnt find any useful information there to anserw my question.
Do you got any suggestion?

Code:

function trigger_event
{
if (event_type == EVENT_TRIGGER)
{
ent_playsound(me,whamm,50);
}
// etc. ...
}
action door
{
...
my.trigger_range = 100;
my.ENABLE_TRIGGER = ON;
my.event = trigger_event;
...
}



Thanks in forehand

Last edited by Tiinusen; 04/10/07 15:52.

Where is my manual? i think i lost it. i have been searching everywere. ohh there it is F1 I'm 17 years old, with 4 years of programing I can programming a lot of languages check my Bio out,