• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

real

  1. Ricola3D

    [Reforged] Nested "Value of Real Variable" events is bugged

    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...
  2. Dark-Zalor

    !IMPORTANT! - Real Comparision BUG

    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...
  3. Oriri Ire

    Wrong result after Real to Int Conversion

    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...
  4. Systemfre1

    Normalize a real in GUI?

    Just wondering if there was a way to do this using GUI?
  5. katya18

    Check if string is real number

    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...
  6. bruunk

    [Trigger] Integer/Real Variable Size Issues

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

    WE: can you change decimal precision ?

    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...
  8. Uncle

    [Solved] Rounding stopped working out of the blue

    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])) /...
  9. loktar

    [Solved] Weird R2I() behaviour

    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...
  10. Uncle

    Modulo - How to use it to detect a multiple of a real

    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...
  11. Acutesharpness

    [Role Playing Game] DARK DESTINY Alpha

    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...
  12. Prometheus3375

    Jass has troubles with reading reals

    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...
  13. BigJeep

    Real/Integer for armor

    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.
  14. 1)ark_NiTe

    [Solved] Same Value Returns Both 0.0 and NULL from Hashtable

    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...
  15. TheAyalalalalon

    [Solved] More damage if the target is not facing the caster

    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)
  16. blancfaye7

    Insanity Attack v4.5

    .RATORY-BUNDLE.
Top