I have a request to make. I need a function in Jass that removes Units set by variables
Set Temp_Point[1] = (Center of Rect 001 <gen>)
Unit - Create 1 Sky Barge for Player 12 (Brown) at (Temp_Point[1]) facing Default building facing (270.0) degrees
Set MyUnit[1] = (Last created unit)
Neutral Building - Enable MyUnit[1]
Call RemoveLocation (udg_Temp_Point[1])
call .... (udg_MyUnit[1])
Can anyone tell me the function please?
A Function Request
Moderator: Cheaters
-
- Newcomer
- Posts: 10
- Joined: April 26th, 2007, 6:56 am
- Location: Romania, Buzau
-
- The Flying Cow!
- Posts: 2196
- Joined: November 2nd, 2007, 10:34 pm
- Location: Melbourne
Re: A Function Request
Why would you have a mix of Jass and GUI -_- That's just random... PLus, why can't you make the remove action in gui?
But anyway, the jass for that is:
call RemoveUnit(udg_MyUnit[1])
Shouldn't be that hard to figure out...
But anyway, the jass for that is:
call RemoveUnit(udg_MyUnit[1])
Shouldn't be that hard to figure out...
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
AutoCP3 now available for free!