Menu

Commit [r2769]  Maximize  Restore  History

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})

damon_caskey 2010-05-08

MongoDB Logo MongoDB