• 0

    posted a message on Displaying a Variable in a Dialog UI Box

    DialogControlSetPropertyAsText (dialogItem, c_triggerControlPropertyText, playergroup, text);

    Edit: You could always just create a little function to output text for troubleshooting and development -

    void Print(string s) { UIDisplayMessage(PlayerGroupAll(), 1, StringToText(s)); }

    Print("Hello World");

    Posted in: Triggers
  • 0

    posted a message on Double Arrays

    Copied this from the FAQ, felt it was relevant for you to know:

    "Galaxy is only capable of addressing 2 MB worth of data..." "Avoid doing things like int[100][500] as it actually allocates 50,000 ints."

    Posted in: Galaxy Scripting
  • 0

    posted a message on Countdown to D3

    I absolutley loved diablo 2. Hearing about that auctionhouse just makes me cringe. Buying and selling items and characters? Takes the excitement out of finding something rare. Also imagine all the asain loot farmers that will be buzzing all over the game.

    Posted in: General Chat
  • 0

    posted a message on Trigger-man Recruitment

    @QZX: Go

    Sent you a PM

    Posted in: Team Recruitment
  • 0

    posted a message on Unit Ability & Galaxy

    @SBeier: Go

    Ah. Thank you much, works like a charm.

    Now unit abilities that need to spawn crap or make weird sequences will be a breeze.

    Galaxy coding isn't very difficult. I feel like all I am doing is creating tedious workarounds for a seemingly simple task in order for it to comply to the game engine's restraints.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Unit Ability & Galaxy

    Hello all. I searched and couldn't find anything about this:

    I have been coding my map triggers in pure galaxy and I have a good understanding of a few programming languages. I have not done much with the data editor yet.

    I have come to a point where I want to add some more complicated unit abilities onto my playable characters. Is there a way that I can have a unit ability just run a function that I have coded in Galaxy in global scope? This would make creating the unit abilities a snap for me.

    Posted in: Galaxy Scripting
  • To post a comment, please or register a new account.