• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Jass error even though im not using Jass..

Status
Not open for further replies.
Level 2
Joined
Dec 18, 2008
Messages
28
Code:
//===========================================================================
function CreateNeutralPassiveBuildings takes nothing returns nothing
    local player p = Player(PLAYER_NEUTRAL_PASSIVE)
    local unit u
    local integer unitID
    local trigger t
    local real life

    set u = CreateUnit( p, 'o00W', -29216.0, 28768.0, 270.000 )
    set u = CreateUnit( p, 'n01K', 256.0, 30016.0, 270.000 )
    set u = CreateUnit( p, 'n01K', 6080.0, 28800.0, 270.000 )
    set u = CreateUnit( p, 'ngme', 1952.0, 21152.0, 270.000 )
    set u = CreateUnit( p, 'ndru', -14528.0, 22208.0, 270.000 )
    set u = CreateUnit( p, 'o011', -30272.0, 28480.0, 270.000 )
    set u = CreateUnit( p, 'o011', -30272.0, 28352.0, 270.000 )
    set u = CreateUnit( p, 'o011', -28096.0, 28352.0, 270.000 )
    set u = CreateUnit( p, 'o011', -28096.0, 28480.0, 270.000 )
    set u = CreateUnit( p, 'o00Z', -29984.0, 27680.0, 270.000 )
    set u = CreateUnit( p, 'o00Z', -28384.0, 27680.0, 270.000 )
    set u = CreateUnit( p, 'o012', -29184.0, 28352.0, 270.000 )
[SIZE="4"]    set u = CreateUnit( p, ''o00', -29728.0, 29088.0, 270.000 )
    set u = CreateUnit( p, ''o00', -28640.0, 29088.0, 270.000 )[/SIZE]
    set u = CreateUnit( p, 'n00P', -29184.0, 27648.0, 270.000 )
    set u = CreateUnit( p, 'n014', -26624.0, 29952.0, 270.000 )
    set u = CreateUnit( p, 'n015', -27200.0, 29760.0, 270.000 )
    set u = CreateUnit( p, 'n015', -25984.0, 29696.0, 270.000 )
    set u = CreateUnit( p, 'n015', -27200.0, 29312.0, 270.000 )
    set u = CreateUnit( p, 'n015', -25984.0, 29184.0, 270.000 )
    set u = CreateUnit( p, 'n014', -26560.0, 29184.0, 270.000 )
endfunction

//===========================================================================

what i made bigger are the problems (i think) thats what the jass shit comes on when i try to save the map.... so what the fuck is this? can't play the map...tryed remove all triggers and same error, tryed to remove all units then error dissapear ...so...sup?
 
Your problem must be in the object editor. You have created custom units with bad Id and that's what make the bug.

Go to Object Editor, "display as hardcoded values" (Ctrl + D) and search for the unit with the Id 'o00. If you use JNGP, you can copy/paste the unit and use a normal Id (like oA00, for example). Anyway, delete this custom unit after copy it.

If you don't use the JNGP, you could have a big problem cause it shouldn't happen and your WE is bugged (though if you use JNGP, it would be a simple error you made).
 
Level 2
Joined
Dec 18, 2008
Messages
28
what is JNPG? the only thing i now im using is Newgen editor thing from Thehelper.net

EDIT : TYTYTYTYTYTY fixed :) found out i had made a id a . without noticing..
 
Status
Not open for further replies.
Top