How to make my ScriptedPawn do stuff?

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

BondJamesBond

New Member
Sep 23, 2001
43
0
0
Visit site
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

New Member
Sep 20, 2001
65
0
0
www.Creep-World.net
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.