Notes |
|
|
> I tried to find the revision for this but no luck :/
Does anybody else know in which revision this was added? |
|
|
|
I found it, its r288, soo..it should already be in ST, but I tried it and it didn't seem to work...maybe its a bug? |
|
|
|
'http://www.zdoom.org/Changelog/288/files [^]'
* Added support for setting an actor's damage property to an expression through decorate. Just enclose it within parentheses, and the expression will be evaluated exactly as-is without the normal Doom damage calculation. So if you want something that does exactly 6 damage, use a "Damage (6)" property. To deal normal Doom missile damage, you can use "Damage (random(1,8)*6)" instead of "Damage 6".
'http://www.zdoom.org/wiki/Actor_properties#Behavior [^]'
Custom damage formulas can be specified by enclosing the value completely within parenthesis. For example: "damage (random(4,8)*5+6)". This bypasses the normal calculation and does the exact damage resulting from the custom formula. |
|
|
|
Arg, i feel really stupid, ignore all this, its already there and working, i just did it wrong -_-, sorry :S |
|