Here's some code that puts everybody on top of each other:for(%a = 0; %a < ClientGroup.getCount(); %a++)
{
ClientGroup.getObject(%a).player.setTransform("0 0 "@ (%a*10)+5);
}
Here's another one that mounts everyone on the server to another player:
function mountall()
{
%lastObj = "";
for(%a = clientGroup.getCount()-1; %a >= 0; %a--)
{
%obj = clientGroup.getObject(%a).player;
if(isObject(%obj))
{
if(!%lastObj)
{
%lastObj = %obj;
continue;
}
%obj.unMount();
if(isObject(%obj.getObjectMount()))
%obj.unMountObject(%obj.getObjectMount());
%obj.mountObject(%lastObj, 5);
%lastObj = %obj;
}
}
}