Difference between revisions of "Talk:GetCurrentHealth"
Jump to navigation
Jump to search
imported>Low Post (New page: I think the example Script here won't work, because GetEquippedObject returns the ObjectID, but GetCurrentHealth requires a Reference. Unfortunately I can't think of another example script...) |
imported>Low Post |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
[[User:Low Post|Low Post]] 08:11, 2 July 2008 (EDT) | [[User:Low Post|Low Post]] 08:11, 2 July 2008 (EDT) | ||
:Yup, you're absolutely right. Who wrote that? | |||
:[[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:03, 8 December 2008 (EST) | |||
::Changed the example to use Inventory References instead and added a warning that this probably isn't the smartest thing to do, just to get the current health for the equipped weapon. | |||
::Still not perfect, but better then a not-working example. | |||
::[[User:Low Post|Low Post]] 12:15, 10 April 2011 (EDT) |
Latest revision as of 11:15, 10 April 2011
I think the example Script here won't work, because GetEquippedObject returns the ObjectID, but GetCurrentHealth requires a Reference. Unfortunately I can't think of another example script, but the one which is used now doesn't work. It even stops the script from working, just like any OBSE-Function when you don't use OBSE.
Low Post 08:11, 2 July 2008 (EDT)
- Yup, you're absolutely right. Who wrote that?
- Dragoon Wraith TALK 00:03, 8 December 2008 (EST)
- Changed the example to use Inventory References instead and added a warning that this probably isn't the smartest thing to do, just to get the current health for the equipped weapon.
- Still not perfect, but better then a not-working example.
- Low Post 12:15, 10 April 2011 (EDT)