PDA

View Full Version : I need help with an UScript thingy =)


DJ
12th Dec 1999, 09:45 AM
I wanna check what weapon ppl kill me with, I do this with this string:
return RelatedPRI_1.Playername$Default.test@OptionalObject$Default.KilledByTrailer;
default.test=" killed you with "
default.KilledByTrailer="!"

the full sentence when playing the game is: Alarik killed you with None!
OptionalObject returns None, I want this string to return the bots weapon, how do I do this?

Instead of the usual:You were killed by Alarik, I want it to read: Alarik killed you with minigun!..for exampel...
but my string returns the word "None"
how do I type to return the players weapon?

okay..this seems kinda messy, sorry. hope someone can help me =)

[This message has been edited by DJ (edited 12-13-1999).]

DJ
13th Dec 1999, 06:36 AM
Okay...It seems like the UScript gurus doesn´t hang out here.
Anyone know where I can post this question so it can be read bu ppl like 'ca' and JbP.

Wanderer
13th Dec 1999, 03:07 PM
http://www.unreality.dk

Also run by the Unreal IRC room. In fact it's the default when you go into a chat in UT.

Phenom
14th Dec 1999, 01:35 AM
If you dont already know you can check out http://www.planetunreal.com/modcentral/forums
jpb is the moderator of one of the topics.