Posted By: MarcsVision
Question on ENABLE_IMPACT - 10/26/09 17:15
i would like to have my users transfer to a new level when it hits object "blip". i have the script as:
action blip ()
{
my.ENABLE_CLICK = ON;//when users hits blip
my.event = load_race;//user goes to race level
}
function load_race ()
{
wait (1);
level_load ("dragrace1.wmb");
}
but for some reason i get a syntax error in MAIN in the line my.ENABLE_IMPACT = ON;
those any one see a problem that im missing?
-----------------------------------------------------
Also, i was told to place "me = null" in the top of my level function. what those me = null do?
Thank you!
action blip ()
{
my.ENABLE_CLICK = ON;//when users hits blip
my.event = load_race;//user goes to race level
}
function load_race ()
{
wait (1);
level_load ("dragrace1.wmb");
}
but for some reason i get a syntax error in MAIN in the line my.ENABLE_IMPACT = ON;
those any one see a problem that im missing?
-----------------------------------------------------
Also, i was told to place "me = null" in the top of my level function. what those me = null do?
Thank you!