Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Hello,
Some well-known systems for your custom maps use "Value of Real Variable" events as API you can use to get notified of some game actions. For example a well known is GUI Unit Event by @Bribe :
For example, the system executes the code below:
Set VariableSet Event1 = 0.00
Set...
Hello everyone,
I just notice a bug (I hope it's not my warcraft 3) I have 1.33.0.19252 version of Warcraft 3 classic
when there is a comparison (superiod or equal) between 2 reals (one of them is a counter) it can't detect the 2 amounts are equals
if the amount added is lower than 0.1
here...
Hello everybody,
i encountered some strange behavior today. Maybe somone can help me. In a Trigger i simply convert a Real variable to an Int. so for example 2.00 (Real) to 2 (Int). But after 3 the conversion goes wrong? The editor then says that 4.00(Real) is 3(Int). Somone knows what the...
Hi guys.
The task is next:
I have a string, it could be anything in theory.
I need function
function IsReal takes string s returns boolean
endfunction
that checks, whether or not string can be converted to real number
I dont need full tests like including -(negative values) or exponential...
I'm faced with an issue I didn't think possible, so I'm not sure why exactly it's occurring but this is what I have so far.
My issue is involving a respawn system, where a unit dies, wait X seconds, you get the idea. However, I noticed that when I tested the respawn it worked, but when I tried...
Hello,
The question may be dummy, but I still would like to know the answer:
In WE (GUI), reals are saved with 2 decimals (1.123456 is saved as "1.12"). Is it possible to change the number of decimals, to increase precision ? For example with 4 it would save "1.1234" instead :)
Sincerely...
I'm a bit confused, everything was working just earlier today and now suddenly my numbers stopped rounding.
This still works for whatever reason:
Untitled Trigger 001
Events
Conditions
Actions
Set tempReal = (0.50 + ((Real(ShopTotalItems[ShopTracker])) /...
Could someone explain this to me?
set udg_PatrolSystemState = 1.1
call BJDebugMsg(R2S(udg_PatrolSystemState)) // 1.100
set udg_PatrolSystemState = udg_PatrolSystemState-0.1
call BJDebugMsg(R2S(udg_PatrolSystemState*10)) // 10.000
call...
Hello, I'm having trouble using Modulo. I read some posts on here and tried to recreate what they did but nothing seems to work. When I thought I had it set up correctly the trigger completely stopped working, which was weird because the modulo was just a small calculation that shouldn't have...
DARK DESTINY is a multiplayer role playing game where two teams of 6 fight and survive in the wilderness to defeat the other team. Destroy the enemy fountain to win the game.
Choose your DESTINY, you can pick either Thunder King, Faceless Fighter or Shadow Mage.
More characters will be added...
I made a test in WarCraft 3 1.26a. I filled 2 arrays of reals with the powers of 2 from 0 to -13. The first array was filled by 'hand', and the values of the second were produced by computation of WarCraft 3. In addition, I put a check if the same powers stored in arrays will differ. This check...
I want to create an ability that deals damage based in target's armor, but I can't find anything like a real or integer for armor in gui and I don't know absolutely nothing about jass.
The following code returns true for r == 0.0 and r == null. Can anyone tell me why? I would expect that only r==0.0 would return true.
local unit t = GetTriggerUnit()
local real r = 0.0
//Save 0.0 value to hashtable
call SaveRealBJ(0.0, GetHandleIdBJ(t), 1, udg_hashTable)
//Other actions...
Hello
This is a fast question
I am trying to make a triggered ability to make more damage if it hits a unit from behind (dont mind the projectile, is an instant ability based on cripple)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.