Difference between revisions of "Talk:ForceActorValue"
Jump to navigation
Jump to search
no edit summary
imported>HawkFest m |
imported>HawkFest |
||
Line 9: | Line 9: | ||
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 00:39, 8 February 2008 (EST) | :[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 00:39, 8 February 2008 (EST) | ||
::Ok, I'll correct the error on the main page then. It's not "Strength", it's "Health", and ''Value'' should be "50", not "value". For consistency, an example should stick to itself else it is hardly understandable (unless you already know what it exactly does, which is your case)... Thanks. --[[User:HawkFest|HawkFest]] 01:43, 8 February 2008 (EST) | ::Ok, I'll correct the error on the main page then. It's not "Strength", it's "Health", and ''Value'' should be "50", not "value". For consistency, an example should stick to itself else it is hardly understandable (unless you already know what it exactly does, which is your case)... Thanks. --[[User:HawkFest|HawkFest]] 01:43, 8 February 2008 (EST) | ||
::'''More over: the example will not compile'''. I've done some tests (I'm trying to use this in one of my scripts), and even though ModActorValue Health accepts floats, longs and shorts, either a number or a variable, it doesn't seem to accept neither function calls nor simple math operations on numers, as its value parameter. The correct code example should be as such: | |||
Short modParameter | |||
Set modParameter to ( 20 - GetActorValue Health ) | |||
ModActorValue Health, modParameter |