• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

JASS Question

Status
Not open for further replies.
Level 5
Joined
Oct 9, 2008
Messages
112
Hi Guys,

iam new in JASS and have a Question. I already asked a JASSer and he only say "Dunno whats the problem".
I asked him how to set local variables to Global variables. I need this for a DoT system and the Ini trigger is in GUI for my mapping m8 cause hes only skilled in GUI.
Heres the JASS Script which i use and the syntax checks says its wrong with this message:
"Undeclared variable udg_DoT_HealOrDamage"
And the script looks like that:
JASS:
local boolean dot_or_hot
set dot_or_hot = udg_DoT_HealOrDamage
And a second example its like the first error from the syntax check (Undeclared Variable ... )
And it looks like that:
JASS:
local real ticking
set ticking = udg_DoT_EachIntervall
I hope you can help me to solve my problem.
Ahh i forget the globals will setted in a GUI trigger only 4 remind.

-Atami
 
Level 5
Joined
Oct 9, 2008
Messages
112
Is Boolean this with true and false?

i done it like you and it still doesnt work with the same error message from the syntax check!

I made a picture with the syntax check:


Pic%20A.jpg

 
Level 5
Joined
Oct 9, 2008
Messages
112
I don't get it; you sent me the map, the trigger Mav Jass DoT was normally enabled, I disabled it and reenabled it just fine. Why does it give you compile errors? Is there anything more I should know?

Edit: Oh, very nice. Glad it worked. It didn't give me any error, that's why I was wondering.. :)

nP
but thank you anyway!
 
Status
Not open for further replies.
Top