• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Changing neutrals behaviour (extra & victim)

Status
Not open for further replies.
Level 3
Joined
Jan 18, 2008
Messages
47
I just wanna ask how to make those 2 neutrals to behave like normal computers, causing them able to attacks enemy buildings, ordered normally, etc,

I have tried to use this trigger on my map but it results nothing

  • Change Control
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: call SetPlayerController(Player(13), MAP_CONTROL_COMPUTER)
      • Custom script: call SetPlayerController(Player(14), MAP_CONTROL_COMPUTER)
      • Custom script: call SetPlayerController(Player(bj_PLAYER_NEUTRAL_VICTIM), MAP_CONTROL_COMPUTER)
      • Custom script: call SetPlayerController(Player(bj_PLAYER_NEUTRAL_EXTRA), MAP_CONTROL_COMPUTER)
can everybody help me??
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
You need AI for this go check some AI tutorials
and they are already controled by computer :/
 
Level 12
Joined
Mar 16, 2006
Messages
992
I just wanna ask how to make those 2 neutrals to behave like normal computers, causing them able to attacks enemy buildings, ordered normally, etc,

I have tried to use this trigger on my map but it results nothing

  • Change Control
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Custom script: call SetPlayerController(Player(13), MAP_CONTROL_COMPUTER)
      • Custom script: call SetPlayerController(Player(14), MAP_CONTROL_COMPUTER)
      • Custom script: call SetPlayerController(Player(bj_PLAYER_NEUTRAL_VICTIM), MAP_CONTROL_COMPUTER)
      • Custom script: call SetPlayerController(Player(bj_PLAYER_NEUTRAL_EXTRA), MAP_CONTROL_COMPUTER)
can everybody help me??

I'm actually dealing with a similar problem.

Mostly, my Victim and Extra units absolutely refuse to attack buildings. They work fine for everything else, though.
 
Status
Not open for further replies.
Top