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...
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...
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...
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))...
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...
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 =...
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...
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...
The map version has been outdated. I am currently rebuilding the map
Check out the movie HERE
Hi, i am currently busy on the project: Dragonball Z : History of Saiyan Race .
I started it about 3 month ago. Worked real hard to get things right. Searched for days to find models, played...
Hi,
I use arrow up keys for abilities. The problem is that when i press it, camera runs away. So i thought of locking the camera when pressed. But still, for a second there, between pressing and locking, my camera bounces up and back, and thats realy irritating. Is there any way to dissable...
Hi, i am not known to jass so i was wondering if anyone could help me to write a custom code that will remove Unit group ARRAY memory leak.
The trigger looks like this
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
Unit Group - Pick every unit...
when my harddrive crushed i was able to save few models and skins with a prog. Those were unique models that can not be found on the web. So now i would realy like to reuse those models but i dont know which skin belong to which model and what is the path of the skin.
Does anyone know how to...
I found a nice flying effect at http://www.wc3sear.ch/index.php?p=Spells&ID=1646&sid=2ce2b941cf767b7f1b5507cc6a081cd9
The problem is that when i copy that flying unit into my map he starts running in the air unlike in that map. So i was wondering if there was a way to freeze walking animation
i found a jass code on the web, but have no idear how to adjust it to my map. So the thing is: When a player types -test as an exact match than play sound for all allience of the triggering player. Here is the code i have sofar
function PlaySoundForPlayer takes player whichPlayer, sound...
I spend more then 3 hours making such trigger in GUI and all i could come up with was givind a unit an aura and if under the effect of the buff the unit will be randomly pushed to a side. But that would include that i have to check every 0.5 sec of the gametime if any of ALL units in playable...
I am searching for help with the code that will switch units attacks from 1 to 2 and also from 2 to 1. Something i can't do with upgrades because they can't be degradated.
Tnx, Pepper
call DestroyTextTag( udg_XPText .................. )
Variable XPText has 12 array numbers. So i know how to delete a simple variable, but realy have no idear how to delite it with array.
The point is to destroy XPText ( player number of the killing unit)