Posts
1
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!function init_move_bottle()
{
directions = ;
s = 0;
bottles_m = GetEntArray("bottle_m","targetname");
index = 0;
for (i=0;i<8;i++)
{
if (s == 0)
{
directions
= 0;
s = 1;
}
else if (s == 1)
{
directions
= 1;
s = 0;
}
}
foreach (bottle_m in bottles_m)
{
direction = directions[index];
bottle_m thread move_bottle(direction);
index++;
}
}
function move_bottle(direction)
{
bottle_m_t = GetEnt(self.target,"targetname");
bottle_m_t EnableLinkTo();
bottle_m_t LinkTo(self);
if (direction == 0)
{
while (1)
{
self MoveZ(30,3);
wait 4;
self MoveZ(-30,3);
wait 4;
}
}
if (direction == 1)
{
while (1)
{
self MoveZ(-30,3);
wait 4;
self MoveZ(30,3);
wait 4;
}
}
}