• 0

    posted a message on Can you set a Point variable by name?

    Thanks, yeah it looks like i needed to use a unit. First I was trying to create a trigger with an event that created units when a Players Hero walked in range of a point (the point being a spawn pool for example).

    Couldn't quite get what I wanted though, so I ended up just running periodic timer that gets all of a set unit type and puts them in a group, picks the closest one that is within a set range of a unit and spawn units from that.

    Basically the idea is, I want to be able to create a map, and place "spawner" points or units on the map that the triggers can work with automatically, without having to be set in variables.

    Anyhow it is working now, you can create any map you like, place spawners and starting point, include the mod as a dependency and away you go!

    Posted in: Galaxy Scripting
  • 0

    posted a message on Editing triggers in a library is slow

    Thanks, I think it's checking references in every library every time you do something. I suspect if you started without any dependencies it would be faster.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Change color of battleship projectiles?

    Anyone know where to shange the color of the glow that appears on the ground etc?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Change color of battleship projectiles?

    Thanks! I got the missle to change, however it also has a reflection along the ground which hasn't changed color. Any idea where I can adjust that?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Change color of battleship projectiles?

    As in the topic, I'm wondering how you would go about changing the color of the battleship projectiles, say to green or something.

    Weapons go through quite a few actors and effects, I had a good look but didn't really see anywhere. Even when I tried to change the lighting the projectile model was using it didn't seem to work.

    Thoughts?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Missing Attack Order?

    Never mind I must be blind. It seems there is one "Issue Order" command, however you need to use this but change it to "Issue order with target". Then you can use the appropriate commands.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Missing Attack Order?

    So I can create a group of units at a point no problem, then I goto issue order to group - however I have no "attack" command in the list of abilties?

    Any idea why this would be? How do you tell a unit to attack another unit, or attack-move to a point?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Dialog text color not working?

    Okay thanks. Isn't it strange that it doesn't work normally though? Doesn't the trigger appear to have that meaning?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Can you set a Point variable by name?

    Actually I an probably work around this by creating a new Unit or Doodad, then when the map initializes I can get that unit, delete it and spawn a point - or just spawn the units on that unit.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Can you set a Point variable by name?

    Okay thanks, I'll guess I will have to use the global data table instead.

    That's the only way for a trigger library to access a variable in the map I assume?

    Posted in: Galaxy Scripting
  • 0

    posted a message on Can you set a Point variable by name?

    The problem is the trigger is in a MOD, and I'm placing the START point in a MAP.

    So I need some way for the MOD to check if the start point exists, and if it does use it to create units - if it doesn't show a warning.

    If it was possible to do this just by naming a point on the MAP, then it would be great, as it makes the map super easy to setup. I mean I can add it to the global data table or something if I really have to.

    I can't just use a variable though, because the triggers in the mod won't be able to reference the variables since they don't know about the map.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Trigger Libraries in Mods, linked to maps

    Mmm I don't think it's that, I think it just doesn't load the library at all unless is sees that something is using it.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Dialog text color not working?

    Hmm..

    I have this:

    Dialog - Create a label for dialog heroTypeDialog with the dimensions (190, 50) anchored to Bottom with an offset of (0, 0) with the text ("Existing Heroes: " + (Text(storedCharacterCount[playerNumber]))) color set to Red text writeout set to false with a writeout duration of 2.0

    Even if I use "Set Dialog Item Color" after that, it still won't change.

    How do I set the font text color inside the text field?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Can you set a Point variable by name?

    Basically I want to be able to a POINT to my map and give it a name, say "START".

    Then I want to run some triggers from my mod and create units at that point, however I need to be able to reference the point by it's name. So it may involve searching through all POINT objects on the map until I find one matching that name.

    Is this possible?

    If not is it possible with regions?

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