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

Help me have a problem!

Status
Not open for further replies.
Level 2
Joined
Dec 27, 2007
Messages
11
Hey, I have some problem with a map i'm making, and i can't fix this problem.
when i save there's come something weird thing andn there's problem with line 177-182 there stand "line 177: expected expression" and so on.


line 176 set u = CreateUnit( p, 'h009', -7552.0, 2816.0, 270.000 )
line 177 set u = CreateUnit( p, ''h00', -7296.0, 2752.0, 270.000 )
line 178 set u = CreateUnit( p, ''h00', -7168.0, 2816.0, 270.000 )
line 179 set u = CreateUnit( p, ''h00', -7104.0, 1920.0, 270.000 )
line 180 set u = CreateUnit( p, ''h00', -7616.0, 2368.0, 270.000 )
line 181 set u = CreateUnit( p, ''h00', -7744.0, 2240.0, 270.000 )
line 182 set u = CreateUnit( p, ''h00', -6400.0, 2240.0, 270.000 )

JASS:
function CreateBuildingsForPlayer3 takes nothing returns nothing
    local player p = Player(3)
    local unit u
    local integer unitID
    local trigger t
    local real life

    set u = CreateUnit( p, 'h009', -7552.0, 2816.0, 270.000 )
    set u = CreateUnit( p, ''h00', -7296.0, 2752.0, 270.000 )
    set u = CreateUnit( p, ''h00', -7168.0, 2816.0, 270.000 )
    set u = CreateUnit( p, ''h00', -7104.0, 1920.0, 270.000 )
    set u = CreateUnit( p, ''h00', -7616.0, 2368.0, 270.000 )
    set u = CreateUnit( p, ''h00', -7744.0, 2240.0, 270.000 )
    set u = CreateUnit( p, ''h00', -6400.0, 2240.0, 270.000 )
endfunction
 

Attachments

  • Wars Of Hatred.w3x
    399.6 KB · Views: 43
Level 8
Joined
Mar 21, 2008
Messages
239
set u = CreateUnit( p, 'h009', -7552.0, 2816.0, 270.000 )
set u = CreateUnit( p, ''h00', -7296.0, 2752.0, 270.000 )
set u = CreateUnit( p, ''h00', -7168.0, 2816.0, 270.000 )
set u = CreateUnit( p, ''h00', -7104.0, 1920.0, 270.000 )
set u = CreateUnit( p, ''h00', -7616.0, 2368.0, 270.000 )
set u = CreateUnit( p, ''h00', -7744.0, 2240.0, 270.000 )
set u = CreateUnit( p, ''h00', -6400.0, 2240.0, 270.000 )
endfunction

I see it is the "h00" it needs 4 parts like "h009". The rest is something with coordinates. Maybe they are on a corrupt position... I dont know, but i know it is the "h00"

Greetz Lucker
 
Status
Not open for further replies.
Top