This commit is contained in:
Skaronator
2014-01-17 18:28:36 +01:00
parent 89a5a3b459
commit 7d15cfb1bf
3 changed files with 9 additions and 7 deletions

View File

@@ -1,8 +1,9 @@
private["_body","_name","_method","_methodStr"];
private["_body","_name","_method","_methodStr","_bodyName"];
_body = _this select 3;
_name = _body getVariable["bodyName","unknown"];
_bodyName = toArray "unknown";
_name = _body getVariable["bodyName",_bodyName];
_method = _body getVariable["deathType","unknown"];
_methodStr = localize format ["str_death_%1",_method];
cutText [format[(localize "str_player_studybody"),_name,_methodStr], "PLAIN DOWN"];
cutText [format[(localize "str_player_studybody"),toString(_name),_methodStr], "PLAIN DOWN"];