| 07-11-2006, 08:26 PM | #1 |
I'm sure this has been discussed before, but I can't find it... Why the hell do creeps who have been ordered to attack a point keep running back? |
| 07-11-2006, 08:39 PM | #2 |
Notably this isn't really a trigger question and would have fit better in general development. Creeps return because if you base them on neutral players there are gameplay constants holding them back. Code:
Creeps - Guard Distance Creeps - Guard Return Distance Creeps - Guard Return Time (sec) Set all of those values to a very, very high value. (I use the maximum possible) |
| 07-11-2006, 09:35 PM | #3 |
Are they Neutral Hostile ? If yes well their scripts is to go back You might want to assign them a player that isn't used as a computer, so the creeps won't ''guard'' a position. |
| 07-11-2006, 09:38 PM | #4 |
If they return, then they are a neutral player. Neutral players can be used fine, you just need to adjust the gameplay constants accordingly, as I noted above. Using a neutral player can also be quite advantageous in most case, seeing as how it doesn't require wasting player slots on computers. |
| 07-12-2006, 01:26 AM | #5 |
Constants is good, but creeps run away from towers. Also they will run back if lost order |
| 07-12-2006, 01:33 AM | #6 |
I don't know what creeps you use in your maps, but mine don't run away from towers or go home if they forget their orders. |
