• 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] How to get Zinc working?

Status
Not open for further replies.
Level 11
Joined
Apr 6, 2008
Messages
760
I've looked in too zinc some i and looks interesting, but i can get it too work i tiered this and a lot more

JASS:
//! zinc

    library Test
    {
        function onInit()
        {
            BJDebugMsg("Test")
        }
    }

//! endzinc

but it wont work, any idea how too get zinc to work? i have the latest jasshelper
 
function onInit() is the initializer

He doesn't initialize it -_-

I've never used ZINC so I don't know if initializers are different.

JASS:
//! zinc

    library Test initializer onInit
    {
        function onInit()
        {
            BJDebugMsg("Test")
        }
    }

//! endzinc

But it may also not work because he is trying to show a message on map init.
 
Level 6
Joined
Sep 4, 2007
Messages
157
JASS:
//! zinc

    library Test
    {
        function onInit()
        {
            BJDebugMsg("Test")
        }
    }

//! endzinc

omg your almost right it should be this

JASS:
//! zinc

    library Test
    {
        function onInit()
        {
            BJDebugMsg("Test");
        }
    }

//! endzinc
 
Status
Not open for further replies.
Top