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