Search results

  1. Amn

    My map has no players

    Hi, suddenly my map stopped showing players on the lobby, look at the image attached. This is what happened: I opened the map in WE after some months of not working on it, changed a few small things and saved it. Then the errors started. 1. UMSWE In WE, when I go to menu UMSWE, I hit...
  2. Amn

    How to create a BJ ?

    hi, the thing is i have my own function for adding gold to players and i'm trying to add this function to the autocomplete list in NewGen like this so i can type SetPlayerGold ( aplayer, anamount ) i already have the function declared i just want the autocomplete anyone knows ...
  3. Amn

    GetBuyingPlayer()

    hi, if i have my hero shared and someone else buys an item with him -like a potion-, how do i know who bought it ? on event EVENT_PLAYER_UNIT_SELL_ITEM i get this values GetItemPlayer( GetSoldItem() ) returns the shop's owner GetTriggerPlayer() returns shop's owner too GetBuyingUnit()...
  4. Amn

    A passive ability with buff ?

    hi, anyone knows a passive ability that gives a buff to the unit ? i need the player to see the buff and be able to check it's current level ( increased by triggers ) but not auras, i'm already using a lot of them and i'm trying to save the rest for later thank u
  5. Amn

    code array. is it possible ?

    hi, i want to have an array of codes to combine items, it uses the item's custom value to determine what function to run having this two functions declared: function CombineItemA takes nothing returns nothing endfunction function CombineItemB takes nothing returns nothing...
  6. Amn

    The Happy Holidays thread

    Hi forum :) As a present for christmas (so close) i thought it'd be cool if we all share something related to the worldeditor Something we know that maybe others don't. May be a tip, a walkaround, a secret or just a clever solution to an issue. List of possible contributions -...
  7. Amn

    Get unit RGB

    hi is it possible to get how much red green or blue a unit has? i make units fade on death using SetUnitVertexColorBJ or SetUnitVertexColor but this two functions need how much RGB the unit has function SetUnitVertexColorBJ takes unit whichUnit, real red, real green, real blue, real...
  8. Amn

    Quick question, public functions

    is it possible to store public functions in some other way than pile them up all inside that trigger general section ? it gets kinda messy after some code, maybe i could have some sort of sections or something. how about gui triggers, on each trigger i put a function in there, easier to code...
Top