Using the nearestBuilding command freezes my computer.
- Legacy ID
- Game Freezes
Open the editor, place the player unit. Put the following into the units init line: this setPos ((nearestBuilding this) buildingPos 1)
Preview the mission.
The mission will not load the player into the game. The player will be stuck on the loading screen. If running the code while in the game, it simply freezes. In either case, restarting the game is required.