[Solved] Moving Destructable?
Basically, I am trying to move trackables, but I can't even move the destructable in the first place
(source 1/ 2/ 3)
So the basic idea is to order a dummy unit to
However, I faced 2 issues:
So right now I am as confused as HindyHat in source 1
Any help/pointers will be greatly appreciated
Basically, I am trying to move trackables, but I can't even move the destructable in the first place
(source 1/ 2/ 3)
So the basic idea is to order a dummy unit to
"grabtree"
the destructable that supports the trackable, and move the unit, so according to the above 3 sources, this method will actually 'move' the destructableHowever, I faced 2 issues:
- By using
call BJDebugMsg(R2S(GetDestructableX(myDestructable))+" , "+R2S(GetDestructableY(myDestructable)))
I found that the coordinate of the destructable doesn't change at all after the tree is grabbed and the unit (that grabs the tree) moved somewhere else.
(The coordinate didn't just become (0,0) as in when youset myDestructable = null
, it simply didn't change)
- Furthermore, I can't even use
"grabtree"
on non-tree destructable (i.e. invisible platform), I tried changing Combat-Targeted As to 'Tree' but to no success (the game still displays "Must target a tree"), and using actual tree with invisible model doesn't seems to function the same way as the Invisible platform (it doesn't [support/give Z leverage to] the trackable)
So right now I am as confused as HindyHat in source 1
Any help/pointers will be greatly appreciated
Last edited: