map type : defense
Game system :
- You start with a Peasent Hero (a builder/worker). You can build/train/research anything from the start(no techtrees). Kill zombies to gain gold to spend in items and such. Harvest lumber to build bases).
- Spending skill points in either one of the stat or...
Hello, I've been wondering how can I make computer player's units to automatically prioritize items on the ground for attacking.
I made my map so that if a unit dies, every items are dropped. But then players can just take the dropped items later.
I want to make it so if items are dropped...
Hello.
I have this problem where a newly constructed building wont activate autocast by default even if I set the skill as default active ability.
Any workaround to this?
set tempforce = GetForceOfPlayer(GetTriggerPlayer())
call DisplayTextToForce( tempforce, "TRIGSTR_424" )
Does this not leak without calling call DestroyForce(tempforce)
the locals are nulled at the end btw
Does calling destroy on local variables prevent them from further uses?
open your map
go to trigger editor
look at the left field, top of it you will see your map name.
click at it
you'll see a code field for it
thats your map header
Hello. How could one remove buffs from a spell completely?
I made a spell based on curse and i cant seem to remove the buff from it.
Is there a way to fix this besides change the buff duration of curse to 0.01?
Picture is the spell i said of.
oh fuck, yes no wonders why it doesnt work.
there "== false" in if()
thanks AceHart
if ( GetTimeOfDay() > 20 or GetTimeOfDay() < 4 ) then
return true
endif
fixed to above
I'm completely new to the JASS scene and I don't really program. Can anyone fix my code here?
if ( R2I(GetTimeOfDay()) > 20 or R2I(GetTimeOfDay()) < 4 == false ) then
return false
endif
return true
Not sure on how to use OR, i only know &&
I have this multiboard and I'm also having problem setting it.
Multiboard Kills Setup
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Multiboard - Create a multiboard with 2 columns and (Number of players in PlayingPlayers) rows, titled...
>>Go to preferences or something like that and disable fixed random seed.
Works like it should now. Thanks very much.
Now theres only the multiboard problem left.
Can anyone guide me into making a multiboard which shows current living units for Player12?