I have a rule that should teleport all players to a specific place defined in each player’s “TeleportPosition” player variable. The actions look like this:
actions
{
For Global Variable(Iterator, 0, Count Of(All Players(All Teams)), 1);
Teleport(All Players(All Teams)[Global.Iterator], All Players(All Teams)[Global.Iterator].TeleportPosition);
End;
}
This works as expected. However, I also don’t want players to be able to move, so I tried to use Start Forcing Player Position instead, like this:
actions
{
For Global Variable(Iterator, 0, Count Of(All Players(All Teams)), 1);
Start Forcing Player Position(All Players(All Teams)[Global.Iterator], All Players(All Teams)[Global.Iterator].TeleportPosition,
False);
End;
}
However, now everyone’s just getting teleported to 0,0,0 regardless of what’s in their player variable even though I changed nothing else.
I pulled the relevant rules out of my mode and got a code to share: 57Q6Q1
Go to the second rule and change which of the middle two actions is off to try them both out. What am I missing here?