help??

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

Moderator: Core Staff

Post Reply
User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

help??

Post by t3vY » August 25th, 2006, 4:15 pm

i dont know how to write a script that platforms ll move up and down

i used this script but platforms move just horizontal what shall i change?

main()
{
maps\mp\_load::main();
move_trig = getent("move_trig","targetname");
move = getent("move","targetname");
move_trig enablelinkto();
move_trig linkto(move);
move_trig thread check();

while(1)
{
move moveX(500, 5);
wait 5;
move moveY(500, 5);
wait 5;
move moveX(-500, 5);
wait 5;
move moveY(-500, 5);
wait 5;
}
}


please help :oops:

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

Post by Luke » August 25th, 2006, 4:22 pm

change movex/movey to movez

User avatar
t3vY
CJ Worshipper
CJ Worshipper
Posts: 362
Joined: January 15th, 2006, 1:57 pm
Location: zamušani

Post by t3vY » August 25th, 2006, 6:39 pm

change movex/movey to movez
ok tnx :D

Post Reply

Who is online

Users browsing this forum: No registered users and 33 guests