andwhat
  • andwhat
  • 80.75% (Honored)
  • Private Topic Starter
18 years ago
Hi all,

Thanks for the help. My units now loop & follow their waypoints. However, how do I get them to attack something that comes within attack range? For example, I want my overlord to attack anything that comes near it. Currently, it is rolling around the map. It says attack "area" but when I set new waypoints and assign them names and then input them, it says "waypoints do no exist".

Thanks.
Sponsor
Me Myself and Pi
18 years ago
This can only work with skirmish playera & the host of the game. The overlords won't attack any other human players in a multiplayer game.

it says "waypoints do no exist".


You probably don't have the waypoint spelled the same in the script as you have it on that map. Or you've gotten a waypoint name mixed up with a waypoint path name. After you name a waypoint, & choose a condition or an action that deals with a waypoint, you will see that name in the drop down list of those conditions & actions. Same goes with waypoint paths.

If you still can't figure it out, upload the map & I'll give you step by step instructions on how to fix it.
andwhat
  • andwhat
  • 80.75% (Honored)
  • Private Topic Starter
18 years ago
That's fine. I wouldn't mind some emperor's as defense. As of right now, they are moving around on their waypoints. Fixed that.

How do I get them to attack the comp that comes near them?

Hmm, it isn't letting me upload it. Hold on....

Download Attachment: UserPostedImage SnowStorm (3vs5 by andwhat).rar 
37.84 KB
Me Myself and Pi
18 years ago
Do you want the overlord to stop & attack. Or to just turn his turret while moving? It would be a lot easyier if he just kept moving & attacked at the same time.
andwhat
  • andwhat
  • 80.75% (Honored)
  • Private Topic Starter
18 years ago
like you said. I want the overlord to attack while moving.
andwhat
  • andwhat
  • 80.75% (Honored)
  • Private Topic Starter
18 years ago
Hey Pi, so how do I get the overlord in the map to attack while moving around the way points? I want it to attack while just cruising around.
Me Myself and Pi
18 years ago
Okay then, here are the steps:

1) Go to the player list & create a new player with a civilian faction. Now put all your moving units under that player.
2) Create a script in the PlyrCivilian folder that uses the action, Player\Alliances\Change how a player relates to another player.
3) In that action, specify that considers the player you just created an enemy. Copy this action & switch around the player so that the player you just created considers to be an enemy. ( refers to the host. There are no other players that refer to other human player in a multiplayer game, that's why it doesn't work with them.)
4) Copy the script & change the two 's to 's Make eleven copies of this script & put each one in the Skirmish Players' folders.
http://cncmaps.net/index.php?showtopic=648  Before you import them, uncheck Auto Verify, then import them into your map & your done!

Note: After importing the skirmish script, it will take about 30 seconds to load the script window every time.