Recent content by Homer

  1. H

    JASS - Timers and how to pass data to them

    makes sense :) Not sure why i couldnt figure that out >.< probably is due to lack of sleep. thanks, this helped me understand how to use timers in a mui approach. Espec the idea of reusing a timer.
  2. H

    JASS - Timers and how to pass data to them

    For the struct method and arrays. How do i go about running the function Start? What i mean is how should i trigger this function efficiently? Thanks.
  3. H

    WIP Warcraft Party(6)

    Warcraft Party Game Description: Warcraft party follows the same idea as games such as Uther Party, Pains Party and other minigame compilations. The very goal of this map is create a polished and fun experience. The game features various modes and settings to customize your gameplay. Game...
  4. H

    Polled waits causing the thread to break?

    Thank you so much +rep. If u can, give me a hand at my other topic aswell.
  5. H

    Tower makes a beeping noise

    Reviving my old topic due to some lingering issues. When i play call of duty 4 for some time after have the computer on for some time, the computer heats up. Using Speedfan, it shows my GPu reaching 70 after some play time. Now, I'm wondering what to do here. I've got 3 fans not including the...
  6. H

    Issue with Sin and Cos

    sorry for double posting but this is going to drive me crazy
  7. H

    Polled waits causing the thread to break?

    thanks, Thats a bummer :) although i coulda swore it was working before... If i use the event timer expires will it work?
  8. H

    Issue with Sin and Cos

    Heres my newest code. Now i read off the values of a "position" 3 times durring the loop. And for some reason the second time its read off it returns -1... Anyhelp? globals integer array g_grid[20][20] endglobals function Trig_maze_init_Actions takes nothing returns nothing //local integer array...
  9. H

    Issue with Sin and Cos

    When ever i convert the data to integer it does not work and sets it to 0. What am i doing wrong here? function Trig_maze_init_Actions takes nothing returns nothing //local integer array g_grid local integer array start local integer array end local integer x = 0 local integer y = 0...
  10. H

    Polled waits causing the thread to break?

    Here are my functions Spawns heroes to select from and initiates at timer. function Selection_time takes nothing returns nothing local integer i = 1 local unit u = null set i = 1 loop exitwhen i > udg_numberofplayers if (CheckPlayer(i-1)) then if...
  11. H

    Issue with wc3 crashing

    Alright I changed that in my actual code, yet I am unable to remove the unit... When I uncomment the call RemoveUnit it crashes the game. I can move the unit but not remove it?
  12. H

    Scopes

    This is the only way to call it? is if its public? Hmm...
  13. H

    Scopes

    I've never used them before and I have a question. How would i trigger a scope to run from outside the scope(via another function or trigger). function testing takes nothing returns nothing //call start scope test endfunction scope test initializer start private function start takes nothing...
  14. H

    Issue with wc3 crashing

    I have this code that I'm working on. And It seems that it keeps crashing when i try to remove the unit. jass below This works when I comment in the remove unit function. set i = 0 loop exitwhen i>0 if (GetPlayerSlotState(Player(i)) == PLAYER_SLOT_STATE_PLAYING) then...
  15. H

    Code acting strange

    hmm, i feel dumb :/. Not use to doing loops like this. use to for loops :(. Thanks for the fast response.
Top