Energycost property updated. It is now open to changeentityproperty(). Animation parameter is now validated to properly log an error instead of instant shutdown.
getentityproperty({ent}, "energycost", {animation}, {parameter})
{animation} - Animation (by constant) to get energycost from.
{parameter} - Which energycost parameter to get. 0 = Cost. 1 = Mponly. 2 = Disable.
changeentityproperty({ent}, "energycost", {animation}, {cost}, {mponly}, {disable})
Authored by: damon_caskey 2010-05-08
Parent: [r2768]
Child: [r2770]