Search results

  1. Doctor-Peppe

    Detect Units Hold Position

    Ye, the only problem is that there is no such order
  2. Doctor-Peppe

    Detect Units Hold Position

    I am trying to make a passive spell that will block attacks when the unit is ordered to hold position. The problem is that there is no such order string. WE only knows Smart, attack and Move, and when the unit is ordered to hold, there is no order-string, just empty. How can i detect if the...
  3. Doctor-Peppe

    Destructibe Memory Leak

    I have a spell that takes the position of a unit every 0.1 sec, picks every destructible within 300 range of his position and destroys all units in this destructible group. This way it looks like he is crushing the trees while walking. I have fixed the point leak, but was unable to find the...
  4. Doctor-Peppe

    Detect harvesting workers

    Gather is a wrong string, its just a name of the ability, not an order type. Try cast, cause when harvesting, all the unit does is to cast an ability
  5. Doctor-Peppe

    What's a router??? how do u forward a port??

    Well, there are bright and less bringht people. For the less bright people: Go to that website. I hope its not 2 complex so far. The site will open up. Now at the top select GUIDES. If you look around, there isnt much alternative that can be confusing. I mean, why would u click on store or...
  6. Doctor-Peppe

    Fade Filter For 1 player

    Many many times ive tryed to create a fade filter that would work only for 1 player. However the simple once, that u can find everything will cause the game to split. Now iver found a new one here http://wc3sear.ch/index.php?p=JASS&ID=266&sid= ,but it seems that it wasnt written well, and has a...
  7. Doctor-Peppe

    Adjustment In Jass

    udg_tempinteger ?
  8. Doctor-Peppe

    Adjustment In Jass

    I have a custom script that will call a fade filter for a sertain player but it need a simple andjustment call LocalCinematicFade( bj_CINEFADETYPE_FADEOUTIN, 6.00, "ReplaceableTextures\\CameraMasks\\SpecialSplatMask.blp", 66.00, 66.00, 66.00, 0, Player(bj_forLoopAIndex - 1))...
  9. Doctor-Peppe

    Return The Value Of The Timer Array

    ManyTimes havent thought about his trigger at all. Test it out with multiple running timers If value is greater than 10 (or whatever, as long as its higher than 0), it will just set the TempInteger to the highest running timer array. BTW, [You Just Change It] statement... Change what? Diapers...
  10. Doctor-Peppe

    Return The Value Of The Timer Array

    Ok, ive found my own, newbie solution, not proud of it, i dont like to work this way, but here it is release Events Time - TimerPlayerJail[1] expires Time - TimerPlayerJail[2] expires Time - TimerPlayerJail[3] expires Time - TimerPlayerJail[5]...
  11. Doctor-Peppe

    Return The Value Of The Timer Array

    Lol, and if its 1 that expires and 2 is on countdown too, it will be set to [2] your system is no good at all :)
  12. Doctor-Peppe

    Return The Value Of The Timer Array

    Is it possible, somehow, to get the array value of the expired timer. More detail: -------------------------------------------------- there is 1 timer with 2 arrays: Timer[1] Timer[2] Event Timer[1] expires Timer[2] expires action set TempInteger to The array value of the...
  13. Doctor-Peppe

    Jass Return Item Cost

    I need a function that will set an Integer_X to the gold cost of an Item. Ive also found this script: function GetItemGoldCostById takes integer Uid returns integer local integer Val = GetPlayerState(Player(15),PLAYER_STATE_RESOURCE_GOLD) local integer ValB =...
  14. Doctor-Peppe

    Jass, Play Sound For 1 Player

    :) HAHAHAH LOOOOOOL i just ran a wrong trigger. So it kept running 1 same trigger all over. Thats why the game crushed. How stupid am i... :banghead: :nuts: TNX A LOT Sunny , OMG -------------------------- Ok, ive tested the fix, and the game crushed again. This time some other bug...
  15. Doctor-Peppe

    Jass, Play Sound For 1 Player

    Yes, but you are saying that i have to remove action: Run Trigger. How is it going to start? Those are 2 different triggers. One is in GUI and it sets integer "SoundVariable" that is equel to the players number and the second one is in jass, and it plays music to player[SoundVariable]
  16. Doctor-Peppe

    Jass, Play Sound For 1 Player

    Is it? The second trigger has no event condition
  17. Doctor-Peppe

    Jass, Play Sound For 1 Player

    Ok, ive went through some tutorials and created this trigger, the problem is that every time integer PlayerSide becomes 1, the game crushes.... Ive Made 2 triggers 1st Setting Randome Sound Events Time - Every 5.00 seconds of game time Conditions Actions...
  18. Doctor-Peppe

    Jass, Play Sound For 1 Player

    Hi, i have found an old code on wc3sear.ch that allows you to play sound only for one player -------------- function PlaySoundForPlayer takes player whichPlayer, sound whichSound returns nothing if ( whichPlayer == GetLocalPlayer() ) then call PlaySoundBJ( whichSound ) endif endfunction...
  19. Doctor-Peppe

    XP Sharing problem

    Even if i turn of the shared vision Hero X always recieves XP from the fights of his alliance even if the fight is on the other side of the map!!! I could turn of sharing XP but that would be imbalanced cause the second force doesnt has this issue. Sharing has to stay, but only on a short range...
  20. Doctor-Peppe

    Undead Grounds

    Every time i build a structure on the undead grounds, it (blight) dissepears. How do i change so when i build a structe the terrein doesnt change?
Top