| 09-12-2006, 01:10 AM | #1 |
Hi: I'm trying to make an AI player use a transport boat but it doesn't work. I've tried to create a custom unit based on Globin Zeppelin, changing the flying classification to a land classification, but still it doesn't works. So the only solution that I have is creating a trigger system that detects stuck units, the only problem is how can I detect if a unit is stuck? If somebody has an idea for this problem, I will aprecciate that :) |
| 09-12-2006, 08:38 AM | #2 |
Ooo... never thought of that, and ATM I have no idea how to solve this in an easy way. |
| 09-12-2006, 02:17 PM | #3 |
Well, I'm thinking in one trigger that detect tergeted unit orders. But I don't remember if there's an event that checks if a unit has an specific issued order. |
| 09-14-2006, 05:21 PM | #4 |
'Issue order' doesn't work? Like issue order to move to (Target Region)... That should work i'd think... |
| 09-15-2006, 07:04 PM | #5 |
You could do it via JASS:GetUnitCurrentOrder() |
