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

Automatic Unit Movement and Such...

Status
Not open for further replies.
Level 5
Joined
Apr 8, 2007
Messages
116
Hmm, well, I'm trying to create triggers where units are created every so mins for a human player and move to a specific area, yet done so that a player cannot alter/change the route...how can you make it so that no matter what a player does, that unit will go to that specific route...?


Also ,it seems strange, but though I do know how to do the triggers for spawn and automatic movement, around half of them work, while the other half don't! There are separate triggers for them (because of different destinations), and the triggers are mirrors of each other due to copy n paste...and I checked, and I did not overlook any unchanged "pasted" parts of each trigger, yet a bunch of the automatic paths don't work, the units just sit there when spawned. Any answers to this...?
 
Level 5
Joined
Aug 3, 2005
Messages
70
I may be able to help on the first part.
Does the player actually have control over the created unit?

If they do, try adding a computer player to the team of the player that is creating the unit.

Once the unit is trained, convert ownership of the trained unit to the computer, then designate a path.

Just one of the many ways you could go about doing it. I hope this helped :x
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Smiply make it that if their path is altered they are paused for 5 seconds a penalty and their path corrected. To do this use a unit is issued an order event to detect "attack", "move", "patrole", "holdground" and "smart".

"smart" is the right click move order.
 
Status
Not open for further replies.
Top