Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
JMG_Utility_Scale_Damage_By_Player_Count Class Reference

This script refunds damage on the attached object by a percentage of the number of players there are in game out of the max players supplied as a parameter \Math for this one basically is -PlayerCount/MaxPlayerCount*damage \MaxPlayersToScaleFor - This amount divides the players that are currently in game to get the base scale amount (The number of players is player count - 1, so when its just 1 player in game the scale is normal) \MaxScaleFactor - The maximum percent of damage that can be refunded. More...

#include <jmgUtility.h>

Detailed Description

Author
jgray