Here is what I'm trying to do:
INIT
CHARACTER:__Me
EVENTS
EVENT OnPickupItem_Me
VARS
ITEM:_item
ON
OnPickupItem(__Me, _item)
ACTIONS
IF "c1"
ItemGetStat(_val,_item, Value) //OUT FLOAT:statValue, ITEM:item, ITEMSTAT:statType
THEN
DisplayText(__Me,_val)
ENDIF
basically just output a stat of an item above the character's head (I've tried several variations of this with no luck - tried "Value" with and without quotes, tried declaring the output variable, etc).
I have a feeling either I need to convert the float to a string, or I'm passing statType the wrong way to the function.
Last edited by Simzzz; 21/11/17 02:27 AM.