Search results

  1. N

    Making the Builder in a TD

    turn collision off by trigger will allow units to ignore pathing blockers dunno about collision 0
  2. N

    Rate my unfinished map / need ideas

    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...
  3. N

    Making computer player owned units prioritize attacking items on the ground

    I tried doing that with Event - unit loses an item and order units to attack the item being manipulated doesnt work somehow :/
  4. N

    Making computer player owned units prioritize attacking items on the ground

    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...
  5. N

    Autocast by default problem with buildings

    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?
  6. N

    Do I have to destroy local variables to prevent leaks?

    So i need to null AND destroy them at the end?
  7. N

    Help on merging functions

    I'm not sure if I want to change the structure of the whole function... Thanks anyways. More ideas welcomed though.
  8. N

    Help on merging functions

    function Trig_Learning_Spells_Func002A takes nothing returns nothing set udg_spellLearningUnit = GetEnumUnit() endfunction function Trig_Learning_Spells_Actions takes nothing returns nothing set udg__tempUnitGroup = GetUnitsOfPlayerAndTypeId(GetTriggerPlayer(), 'H002') call...
  9. N

    Do I have to destroy local variables to prevent leaks?

    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?
  10. N

    Removing a buff from a spell

    I want a autocastable spell which automatically target enemy units :/
  11. N

    Receiving errors upon copying triggers from other maps

    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
  12. N

    Removing a buff from a spell

    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.
  13. N

    getting this to work

    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
  14. N

    getting this to work

    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 &&
  15. N

    Adding kill counts to multiboard

    What if the player number is say, 5 but he's in the row 2 or something?
  16. N

    Adding kill counts to multiboard

    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...
  17. N

    RPG centered around dungeons

    anything that doesnt involve mindless attack moving random points -> recieve xp
  18. N

    monsters wont attack

    Seems like memory leak problems causing the computer player's AI to halt/run slow.
  19. N

    Multiboard Question - Tracking Team kills only

    use [wc3] tags please for triggers. its much easier to read
  20. N

    Very weird problem with my map.

    >>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?
Top