boiii-scripts/shared/ai/systems/destructible_character.gsh
2023-04-13 17:30:38 +02:00

24 lines
310 B
Plaintext

// 20 possible states and 1 toggle bit to determine if spawning gib models should happen on the client.
// The toggle bit is used to predamage characters when they are spawned in, without creating gib models.
// (20 + 1) states
// Pieces numbers start at 1, and stop at DESTRUCT_MAX_PIECES