Talk:GetCurrentHealth

There are no discussions on this page.
Revision as of 11:15, 10 April 2011 by imported>Low Post
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)
Return to "GetCurrentHealth" page.