Hi, first time here
I've wanted to ask, is there any way to get the target of a unit's order without
using the issue order trigger?
Im trying to simulate something like a warp gate.
If you pass near the warp gate but your order is not targeted to it then the warp shouldnt be activated, yet if you pass near the warp gate and your order is to go there, only then the warp should be activated. In order to do so, i need to know how to get the target of a unit's order and check if its indeed the warp gate before starting the warp.
It seems simple, yet for some reason, I can't get it to work!
Any suggestions?
Thanks in advanced
I've wanted to ask, is there any way to get the target of a unit's order without
using the issue order trigger?
Im trying to simulate something like a warp gate.
If you pass near the warp gate but your order is not targeted to it then the warp shouldnt be activated, yet if you pass near the warp gate and your order is to go there, only then the warp should be activated. In order to do so, i need to know how to get the target of a unit's order and check if its indeed the warp gate before starting the warp.
It seems simple, yet for some reason, I can't get it to work!
Any suggestions?
Thanks in advanced