Jump to content
Sign in to follow this  
skigoggles

character_data.medical

Recommended Posts

Does anyone have info to decode this field in the database?

 

I found some code that was for epoch and it clearly doesn't match.

Share this post


Link to post
Share on other sites

Does anyone have info to decode this field in the database?

 

I found some code that was for epoch and it clearly doesn't match.

It's not much...but if you can fill in any of the blanks I'd like to know too.

I just started to document these for myself...

 

Healthy

[false,false,false,false,false,false,true,12010

 

Medical Problems

 

1

2

3  Sick   [false,false,true,false,false,false,true]

4

5  Broken Leg  [[false,false,false,false,true,false,true]

6

7

Share this post


Link to post
Share on other sites

from server_functions.sqf

 

server_medicalSync = {
_player = _this select 0;
_array = _this select 1;
 
_player setVariable["USEC_isDead",(_array select 0)]; //0
_player setVariable["NORRN_unconscious", (_array select 1)]; //1
_player setVariable["USEC_infected",(_array select 2)]; //2
_player setVariable["USEC_injured",(_array select 3)]; //3
_player setVariable["USEC_inPain",(_array select 4)]; //4
_player setVariable["USEC_isCardiac",(_array select 5)]; //5
_player setVariable["USEC_lowBlood",(_array select 6)]; //6
_player setVariable["USEC_BloodQty",(_array select 7)]; //7
// _wounds; //8
// [_legs,_arms]; //9
_player setVariable["unconsciousTime",(_array select 10)]; //10
_player setVariable["blood_type",(_array select 11)]; //11
_player setVariable["rh_factor",(_array select 12)]; //12
_player setVariable["messing",(_array select 13)]; //13
_player setVariable["blood_testdone",(_array select 14)]; //14
 
};

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
Sign in to follow this  

×