Sinfis wrote:How do I freeze the game completely with ACS?
You can freeze all actors, meaning everything but geometry (moving platforms, doors and the like).
You'll have to use a little inheritence to make a [wiki=Classes:PowerupGiver]PowerupGiver[/wiki] with infinite duration (Powerup.Duration 0x7FFFFFFF), that gives [wiki=Classes:PowerTimeFreezer]PowerTimeFreezer[/wiki]. Use an [wiki=Built-in_ACS_functions#Inventory]ACS Inventory function[/wiki] to give your PowerupGiver when you want the world frozen. To unfreeze the world, use another function to take PowerTimeFreezer. (It is important that you take the power directly, NOT the giver, as all the giver does is give.

)
[wiki]SetPlayerProperty[/wiki] (
Player, APROP_FROZEN, 1) - This will keep the player from moving around. APROP_TOTALLYFROZEN will take it a tep further, so that they can't use anything but the menu and the+Use key. Make sure you unset the property before continuing! To unset them, use the exact same function but put a 0 in place of the 1. (
Player is the number of the player you want to affect, if the player is calling the script though, I.E. by using a wall, you can just use 0 there.)