Page 1 of 1

******* script runtime error *******

Posted: June 25th, 2006, 7:40 pm
by ownager
******* script runtime error *******
undefined is not an entity: (file 'maps\mp\test_modelteleporter3.gsc', line 13)
platform moveZ (64,2,0.2,0.2);

*
called from:
(file 'maps\mp\test_modelteleporter3.gsc', line 5)
thread test_teleportmodel3();

*
called from:
(file 'maps\mp\test.gsc', line 12)
maps\mp\test_modelteleporter3::main();

*
called from:
(file 'maps\mp\test.gsc', line 1)
main()

*
************************************
********************
ERROR: script runtime error

hope anyone can help me
dont know what the problem is.

Posted: June 25th, 2006, 7:44 pm
by Luke
Can you post up the "test_modelteleporter3.gsc" please

Posted: June 25th, 2006, 8:08 pm
by ownager
main()
{
maps\mp\_load::main();

thread test_teleportmodel3();
}

test_teleportmodel3()
{
platform = getent ("teleportmodel2R","targetname");
while(1)
{
platform moveZ (64,2,0.2,0.2);
platform waittill ("movedone");
wait(0);
platform moveZ (-64,2,0.2,0.2);
platform waittill ("movedone");
}
}

Posted: June 25th, 2006, 8:29 pm
by Luke
^ what he said, make sure your script_brushmodel platform has been given teleportmodel2R as the targetname.

Posted: June 25th, 2006, 8:57 pm
by ddddd
well i dont know what the problem was...
but i fixed it replacing new script and new targetnames and new brushes.

Posted: June 25th, 2006, 8:59 pm
by dddd= ownagerr
im unable to log in atm..
blank page wen i try to log in weird...
o well
question:
Z is used for platforms to go up right?
what is used for platforms to go down?

Posted: June 25th, 2006, 9:53 pm
by Nightmare
you just simply put a negative sign in fron of the number : -64
Its kinda like geometery *shiver*