wc3edit.net

United Warcraft 3 map hacking!
It is currently April 19th, 2024, 1:17 pm

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: script error
PostPosted: November 7th, 2012, 3:38 pm 
Offline
Forum Spammer

Joined: August 18th, 2012, 2:32 am
Posts: 551
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))


Top
 Profile  
 
 Post subject: Re: script error
PostPosted: November 7th, 2012, 3:50 pm 
Offline
Old Wrinkly Member
User avatar

Joined: September 15th, 2010, 5:09 am
Posts: 287
Title: Legenda
try put one more ")" at the end


Top
 Profile  
 
 Post subject: Re: script error
PostPosted: November 7th, 2012, 11:56 pm 
Offline
Forum Spammer

Joined: August 18th, 2012, 2:32 am
Posts: 551
then when i use jasscraft to check syntax, it says "missing ) at the end" if i put

if like this then nothing wrong

Code:
local real r=(GetUnitAbilityLevel(c,'A008')*200)+400


like this also no error

Code:
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?


Top
 Profile  
 
 Post subject: Re: script error
PostPosted: November 8th, 2012, 12:20 am 
Offline
Forum Spammer

Joined: August 18th, 2012, 2:32 am
Posts: 551
no more error now o.o

i doesn't change anything? weird


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)