- Joined
- Mar 1, 2013
- Messages
- 555
Hey again..
I stumbled upon a useful function that allows you to create a unit without creating a location. I find it useful since I replaced the location system with X/Y real arrays in my Meat Hook spell. So I replaced this function in my spell:
Thank you for your time
I stumbled upon a useful function that allows you to create a unit without creating a location. I find it useful since I replaced the location system with X/Y real arrays in my Meat Hook spell. So I replaced this function in my spell:
-
Unit - Create 1 MeatHUnit2[MeatHCustomValue] for Neutral Passive at (Point(MeatHTempX, MeatHTempY)) facing MeatHAngle degrees
-
Custom script: call CreateUnit(Player(PLAYER_NEUTRAL_PASSIVE), 'h000', udg_MeatHTempX, udg_MeatHTempY, udg_MeatHAngle)
Thank you for your time