1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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.

Scripted Pawns?

Discussion in 'Level Editing - Advanced' started by Call me Erdrik, Nov 10, 2001.

  1. Call me Erdrik

    Call me Erdrik Arch Mage

    Joined:
    Nov 24, 1999
    Messages:
    334
    Likes Received:
    0
    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
     
  2. Bot_40

    Bot_40 Go in drains

    Joined:
    Nov 3, 2001
    Messages:
    2,914
    Likes Received:
    0
    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.
     
  3. Call me Erdrik

    Call me Erdrik Arch Mage

    Joined:
    Nov 24, 1999
    Messages:
    334
    Likes Received:
    0
    Im going to try the sniping suggest(tho .1 might be too difficult as the snipers have SuperShockRifles :D )

    but I got the other pwans to move toward the player already.(just used regular triggers :) )

    Thankee :)
     

Share This Page