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

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
ownager
CJ Wannabe
CJ Wannabe
Posts: 8
Joined: June 23rd, 2006, 5:51 pm

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

Post by ownager » June 25th, 2006, 7:40 pm

******* 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.

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » June 25th, 2006, 7:44 pm

Can you post up the "test_modelteleporter3.gsc" please

ownager
CJ Wannabe
CJ Wannabe
Posts: 8
Joined: June 23rd, 2006, 5:51 pm

Post by ownager » June 25th, 2006, 8:08 pm

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");
}
}

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » June 25th, 2006, 8:29 pm

^ what he said, make sure your script_brushmodel platform has been given teleportmodel2R as the targetname.

ddddd

Post by ddddd » June 25th, 2006, 8:57 pm

well i dont know what the problem was...
but i fixed it replacing new script and new targetnames and new brushes.

dddd= ownagerr

Post by dddd= ownagerr » June 25th, 2006, 8:59 pm

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?

User avatar
Nightmare
Core Staff
Core Staff
Posts: 2688
Joined: January 12th, 2006, 10:09 pm
Contact:

Post by Nightmare » June 25th, 2006, 9:53 pm

you just simply put a negative sign in fron of the number : -64
Its kinda like geometery *shiver*
Coding is Poetry. Mapping is Art.
"Cause im the sexiest mapper ever...except for nm, that sexy man" - Soviet

-=[CoDJumper.com Movies]=-
[Ambush] || [Backlot] || [Bloc] || [Bog] || [Broadcast] || [Chinatown] || [Countdown]
[Crash] || [Creek] || [Crossfire] || [District] || [Downpour] || [Killhouse] || [Overgrown]
[Pipeline] || [Shipment & Wetwork] || [Showdown] || [Strike] || [Vacant]

Post Reply

Who is online

Users browsing this forum: Google [Bot], Semrush [Bot] and 1 guest