Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → UNIstring #
UNIstring #
2003-03-23, 8:46 PM #1
I need to know the UNIstring integer for the string "%s was killed by %s". Help please?

------------------
2003-03-23, 10:52 PM #2
Crack open 'JKstring.UNI' in a text editor, you will find it listed.

------------------
Createthingatpos(GBK, 0, '0 0 0', '0 0 0');
And when the moment is right, I'm gonna fly a kite.
2003-03-24, 1:38 PM #3
It's in sithstrings.uni, but there's no numbers.

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

------------------
2003-03-24, 2:19 PM #5
You could just do it kind of like this.
Code:
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).]
Famous last words - "It seemed like a good idea at the time."
2003-03-24, 3:23 PM #6
Code:
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, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2003-03-24, 3:32 PM #7
SaberMaster saves the day. [http://forums.massassi.net/html/smile.gif]

------------------
Createthingatpos(GBK, 0, '0 0 0', '0 0 0');
And when the moment is right, I'm gonna fly a kite.
2003-03-30, 3:18 PM #8
Thx guys, mod's almost done now [http://forums.massassi.net/html/smile.gif]

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

↑ Up to the top!