Hey guys,
I'm currently working to get this damn study body funtion to work. I think I'm pretty close to it:
dayz_code -> actions -> study_body.sqf
There are the variables, which should display the playername and the deathreason. The playername works, but not the deathreason. The variable, which should display the reason is the _methodStr. It gets this string out of the stringtable.xml. If we watch into
dayz_code -> stringtable.xml
The deathreasons are written here. (gunshot to the head etc.) However. The _methodStr calls a String out of the stringtable, but not a specific one, it calls "str_death_%1". If you change this to for example "str_death_shothead" it says ingame "His name was [insert name here], it appears he died from a gunshot to the head". Now the question is, what does this "%1" mean and where is written what it should call.
I'm currently working to get this damn study body funtion to work. I think I'm pretty close to it:
dayz_code -> actions -> study_body.sqf
There are the variables, which should display the playername and the deathreason. The playername works, but not the deathreason. The variable, which should display the reason is the _methodStr. It gets this string out of the stringtable.xml. If we watch into
dayz_code -> stringtable.xml
The deathreasons are written here. (gunshot to the head etc.) However. The _methodStr calls a String out of the stringtable, but not a specific one, it calls "str_death_%1". If you change this to for example "str_death_shothead" it says ingame "His name was [insert name here], it appears he died from a gunshot to the head". Now the question is, what does this "%1" mean and where is written what it should call.