Search results

  1. 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...
  2. 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...
  3. 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?
  4. 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...
  5. 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?
  6. 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.
  7. 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 &&
  8. 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...
  9. N

    Very weird problem with my map.

    1. I created a spell which creates a dummy unit and ordering it to use another spell to attack units. When units dies from the spell which dummy unit creates, it does not actually die. Rather than somehow gets "hidden" as I can still hear the attack sounds when every units are dead. I made...
  10. N

    Counting trees(or other destructibles) and save to a variable?

    Is there a way to count current number of destructibles in an area? I want something like : If current living tree count in playable map area < 100 then do something Thanks in advance.
  11. N

    Changing range problems

    I can't seem to increase range for units in newgen. What's wrong with it? I tried several units, for example, motar team. Changing the range to something higher and test run map. In the game the range is still the same as default (1150). How to fix this?
  12. N

    Harvest ability and spellbooks

    I have this problem that even if you add the harvest ability to a spellbook, the ability icon doesn't show up in the spellbook but at unit skill's slot instead. Is there a way to fix this?
  13. N

    Noob help on implementing the prewritten scripts to map

    Hello, I'd like to know how exactly do I implement scripts correctly in a map. I tried several script, none worked. For example the one here : http://www.thehelper.net/forums/showthread.php?t=114751 What I did was: 1. Create a new trigger 2. Edit-> convert to custom text 3. Clear...
  14. N

    Removing sky in editor so it doesnt black out when zoomed out

    Is there a way to remove sky from the editor, it keeps blacking out when zoomed out for some distance?
  15. N

    Changing the speed of the attack animation

    In normal attacks, i want the attacking animation (swinging sword for footman etc) to be either faster or slower, is there any ways I could achieve this? Animation Backswing Point and the likes doesn't seem to actually change the speed of the animation.
  16. N

    Reviving a dying unit where it dies & questions on region variable

    Hello, this is my first post here. It is my first time to actually messing with worldedit and I've been trying to "create" a region at the location where a unit dies by using region variable (please see attached picture). I have no idea how region variable work so could anyone tell me on...
Top