Jump to content

Recommended Posts

Trying to make a displayCtrl for blood loss when using ace.

 

Problem I'm having is trying to get blood level value:

player getVariable "ace_medical_bloodVolume";

This works in debug console but is not recognised in my script.

I'm not familiar with returning variables from mods, do I have to define something in order to pass the variable through to my script?

Share this post


Link to post
Share on other sites

Had to define a default value in case the variable returned nil value.

player getVariable ["ace_medical_bloodVolume", 6.0];

Can't really see why that matters but works this way.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×