*crossfingers* do they work now?
function Sheepify takes nothing returns nothing
local unit u= GetTriggerUnit()
local real x=GetUnitX(u)
local real y=GetUnitY(u)
local unit dummy=CreateUnit(Player(13),'h00z',x,y,0) // dummy unit
call IssueTargetOrderById(dummy,'A08X',u) //...
bump,
function GetHp takes nothing returns nothing
local unit u = GetTriggerUnit ()
local real hp = GetUnitState (u, UNIT_STATE_LIFE)
call DisplayTextToPlayer (GetLocalPlayer(),0,0," + R2S(hp) + ")
endfunction
function Chat_GetHp takes nothing returns nothing
local integer i=0...
ahem, this one, i fixed the previous one.
and yes im using newgen, and yes im avoiding the hassle of learning both GUI and JASS when i could just learn one.
Vampirism fire >island defense
Although imo, neither of those are good for 2 players.
I suggest enfos mt and rabbits vs sheep, not really popular maps but good to start of with.
1. How do i cast a negative spell on my hero with a text command? (i only need one spell, its polymorph if its of any importance)
2. How do i limit the number of heroes i can have? (eg, set max 1 per game) <- probably not jass, but i still wish to know
3. How can i prevent enemy units from...