General talk about editing, cheating, and deprotecting maps.
Moderator: Cheaters
JustANewbie
Forum Spammer
Posts: 510 Joined: August 18th, 2012, 2:32 am
Post
by JustANewbie » November 7th, 2012, 3:38 pm
parse failed:1 error total
what is wrong with this?
Spoiler :
local unit c=LoadUnitHandle(HS,GetHandleId(z),0)
local unit t=LoadUnitHandle(HS,GetHandleId(z),1)
local integer AH=LoadInteger(HS,GetHandleId(z),0)
local real a=LoadReal(HS,GetHandleId(z),1)
local real r=((GetUnitAbilityLevel(c,'A008')*200)+400)+((GetUnitAbilityLevel(c,'A008')+3)*(GetHeroAgi(c,true))
KangTooJee
Old Wrinkly Member
Posts: 202 Joined: September 15th, 2010, 5:09 am
Title: Legenda
Post
by KangTooJee » November 7th, 2012, 3:50 pm
try put one more ")" at the end
JustANewbie
Forum Spammer
Posts: 510 Joined: August 18th, 2012, 2:32 am
Post
by JustANewbie » November 7th, 2012, 11:56 pm
then when i use jasscraft to check syntax, it says "missing ) at the end" if i put
if like this then nothing wrong
Code: Select all
local real r=(GetUnitAbilityLevel(c,'A008')*200)+400
like this also no error
Code: Select all
local real r=(GetUnitAbilityLevel(c,'A008')+3)*GetHeroAgi(c,true)
conclusion: no error if i separate them, error when i combine them, so how could i combine them?
JustANewbie
Forum Spammer
Posts: 510 Joined: August 18th, 2012, 2:32 am
Post
by JustANewbie » November 8th, 2012, 12:20 am
no more error now o.o
i doesn't change anything? weird