• 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] Syntax (?) Error

Status
Not open for further replies.
Level 10
Joined
Jul 5, 2012
Messages
230
Well as you cam imagine I've got a problem and this time I'm not able to get through with it myself.
While working with the Editor a problem occoured and I can't tell which trigger exactly is the reason for this.

It says: "Line 421: Undifined type VarAsString_Real"
and the Line says: "VarAsString_Real udg_DamageEvent = null"

so I think it came up when I imported the "Damage Engine" from hiveworkshop,
however after removing the new trigger the problem is still there.

I ask you for your help and advice.
Maybe even someone who feels fine with Jass would offer his/her time to check out my triggers, I'ld upload the map.

Ty in advace

Edit: In case you want to know what I imported exactly, it was: "ArcingFloating Text", "Create Floating Text" and together with these two "Unit Indexer" and "Damage Engine". It is a pack for floating letters and iunfortunately it somehow crashed my map.

Edit II: I uploaded a screenshot for better understanding. I still hope for your help.


screenshotqkfd1h26uv.jpg



Edit III: I uploaded the map, you can find it here: ------------------------
 
Last edited:
Level 10
Joined
Jul 5, 2012
Messages
230
I see. Replace VarAsString_Real with string. This will work

I would try but see this is the biggest problem: As I said I cant make out where to find this line. I checked every trigger and couldnt make it out.

I know I steal your time with this and I start to feel a little foolish but I really watched all my triggers to find such a line without success.

I searched for a website to upload the map and I attach it here and at top of the topic. I someone could give me a hand I'ld be undescribable thankful as I really started to put a lot of work into this map. You would see once you see the terrain...

The link would be this: -------------
 
Level 16
Joined
Dec 15, 2011
Messages
1,423
Doomlord is wrong,

It is a Damage Event,set the variable's type as Real. It is one of the most common problems of importing variables esp. if the variable is used as a Variable Event.

udg_DamageEvent = null. Really? Either you or I are wrong here. Maybe I am but we cannot tell yet. I am basing my claim on a valid point, not making it up. Just so you may know. Nevermind. I went nuts.

@OP: If that is the case, then I give up. I am on a phone so as long as it concerns a map, I am out.
 
Level 10
Joined
Jul 5, 2012
Messages
230
@OP: If that is the case, then I give up. I am on a phone so as long as it concerns a map, I am out.

Thank you so much for helping me so far.

Doomlord is wrong,

It is a Damage Event,set the variable's type as Real. It is one of the most common problems of importing variables esp. if the variable is used as a Variable Event.

I'll test this and tell you if I've got success.

Edit: I can't believe it! It worked! Almia you saved my day. I can't thank you enough!
Thanks everyone, it's unbelieavable how fast the community could help me.

Happy ever after.
 
Status
Not open for further replies.
Top