trap05()
{
trap = getEnt ("trap05", "targetname");
while(1)
{
trap moveX ( 768, 1 );
trap waittill ("moveedone");
trap moveX ( -768, 1):
}
}
Will this work for a moving platform?
Moderator: Core Staff
-
- Core Staff
- Posts: 13313
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Will this work for a moving platform?
Code: Select all
trap05()
{
trap = getEnt ("trap05", "targetname");
while(1)
{
trap moveX ( 768, 1 );
trap waittill ("moveedone");
trap moveX ( -768, 1):
trap waittill ("moveedone");
}
}
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
Re: Will this work for a moving platform?
Thanks i got it working
Who is online
Users browsing this forum: No registered users and 1 guest