Scripted Pawns?

  • 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.

Call me Erdrik

Arch Mage
Nov 24, 1999
334
0
0
42
Spring Hill, FL, USA
www.geocities.com
Ok for my SP map I need to know how to make pawns snipe, how to get them to attack when a trigger is triggered(and they need to be able to get through a complexe area to get to the player.)
and to react when the allied pawns in their area get fragged...

if any one could direct me to a Tut or post the info that would be great :D
 

Bot_40

Go in drains
Nov 3, 2001
2,914
0
36
York, UK
To get them to snipe, use a distance view trigger next to an ambush point. Set the radius of the Distance View Trigger so that the ambush point is enclosed in it.
Make sure the ambush point is set to bSniping - True
Increase the view range of the Ambush point aswell
Now add a triggers at the points where the player will be sniped at. Make these triggers trigger the distance view trigger.
Set RepeatTriggerTime to 0.1 so that when a player is in that area he will keep triggering the Distance View Trigger.

You might be able to get a pawn to run to the player using the same setup. Have the trigger where the player will trigger the pawn to start runng. Put the distance view trigger where the pawn will start.
This might work but I'm not sure.

You might be able to use an alarm point but the pawn will only run towards the alarm point of it sees the player. I'm sure you would be able to alter the code so that it runs to the alarm point if it's triggered.