okay so ive looked at this script many many times and cant figure out whats wrong with it. It says line 7 bad syntax
--------------------------
main()
{
thread wall();
{
wall()
{
wall = getent ("wall","targetname");
trigger = getent ("wall_trig","targetname");
while(1)
{
trigger waittill ("trigger");
wall movex (-10,2,0.5,0.5);
wait(5);
wall moveZ (96,2,0.5,0.5);
wait(5);
wall moveZ (-96,2,0.5,0.5);
wait(5);
wall movex (10,2,0.5,0.5);
wall waittill ("movedone");
}
}
script error
Moderator: Core Staff
Who is online
Users browsing this forum: Bing [Bot] and 27 guests