PDA

View Full Version : UNIstring #



Frank_Booth
03-23-2003, 11:46 PM
I need to know the UNIstring integer for the string "%s was killed by %s". Help please?

------------------

gbk
03-24-2003, 01:52 AM
Crack open 'JKstring.UNI' in a text editor, you will find it listed.

------------------
Createthingatpos(GBK, 0, '0 0 0', '0 0 0');

Frank_Booth
03-24-2003, 04:38 PM
It's in sithstrings.uni, but there's no numbers.

------------------

Frank_Booth
03-24-2003, 04:51 PM
What I'm trying to do is use jkPrintUNIstring(player, int) but I don't know the int for the UNI string...

------------------

DSLS_DeathSythe
03-24-2003, 05:19 PM
You could just do it kind of like this.


jkStringConcatPlayerName(player);
jkStringConcatAsciiString(" was killed by ");
jkStringConcatPlayerName(killer);
jkStringOutput(-3, -1);
jkStringClear();

but it may be hard to find who the killer is.

------------------


[This message has been edited by DSLS_DeathSythe (edited March 24, 2003).]

SaberMaster
03-24-2003, 06:23 PM
killed:
killer=GetThingParent(GetSoureRef());


Aside from that, jkStringClear() is always put before concat operations. http://forums.massassi.net/html/wink.gif

------------------
Author of the JK DataMaster (http://www.geocities.com/sabersdomain/fileframe.html), Parsec (http://www.geocities.com/sabersdomain/fileframe.html), Scribe (http://www.geocities.com/sabersdomain/fileframe.html), and the EditPlus Cog Files (http://www.geocities.com/sabersdomain/fileframe.html).

gbk
03-24-2003, 06:32 PM
SaberMaster saves the day. http://forums.massassi.net/html/smile.gif

------------------
Createthingatpos(GBK, 0, '0 0 0', '0 0 0');

Frank_Booth
03-30-2003, 06:18 PM
Thx guys, mod's almost done now http://forums.massassi.net/html/smile.gif

------------------