PDA

View Full Version : How to make my ScriptedPawn do stuff?


BondJamesBond
9th Oct 2001, 09:24 PM
Hey All,

I am making a "terrorist" that sub-classes ScriptedPawn. When he sees the player or an enemy, he needs to turn and then shoot at that specific enemy. How can I accomplish this in my code? Is there a site that lists all of the UScript functions?

Thanks in advance,
oe_eRROR

RestInPieces
17th Oct 2001, 10:36 AM
Well, if i were you i'd have a close look at the ScriptedPawn and its subclasses, there you'll find a lot of well-working code, you can learn a lot of it...
if you want all functions listed, get the UnrealScript language API at chimeric, for nativ functions have a look at the actor/object class reference.