Just don't use pause unit, you can pause a unit by stacking "stop" order but it's not good too ^^
The only time I've used it was to abuse glitches, but that's about it. I've never made a Kamehameha spell either, so it hasn't been necessary for me at all (for Kamehameha it is though, because it's not a real Kamehameha spell if it's MUI, not uses
PauseUnit
or isn't done in GUI).
SetUnitPosition
works just fine for me. The reason why I suggested the unpause/repause solution because it might be necessary for some people for certain things, like WaterKnight said above.
I'm not sure pause and/or unpause an unit is something instant, i vaguely remember an issue about that.
Well, IDK, I can live without it, as I said. I've seen it used to give a unit the stop order, for example, so as I said, IDK. It's definitely worth a try, though.
About hex: There is a flag in gameplay constants that morphed units can grant auras. It does not seem to work however.
Hmm, I didn't know about that flag. I haven't been in the gameplay constants menu since I started working on IID, which was roughly 2 years ago, and the first (and for now, the only) spell that uses it was made like a year later. But the hex/unhex solution works perfectly fine, and because adding a buff is now done via a wrapper (that's used by the buffstruct too), if I need to change anything buff related, or a similar problem pops up again, I can just change that rutin without having to go through everything.