• 0

    posted a message on What to change in the Galaxy Editor

    @zeldarules28: Go

    I've never made a WASD movement trigger, but I would assume that a loop would be a better solution. Unless of course you need to do something very different for each player (or whatever the instance is your changing). Generally anything repetitive can be done in some easier way (define a function, use a loop, etc.). But perhaps said movement triggers are different in this regard - that I don't know.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on Seperate Unit from Actor

    Hi, I'm trying to make a short animation at the start of my game where an exploding battlecruiser crash lands. However, this should then become a unit which players will be able to move to and 'purchase' items from. There is a model in the campaign that works well for this purpose, "Battlecruiser Hero - Helios (Crashed)".

    The issue is this; the model should land in a particular spot, however the death/dead animations cause the ships visual location to be shifted from where other units 'see' the ship (right clicking the ship with a friendly unit causes it to move to the spot the ship hit when it crashed, not where it is now).

    So I guess the question is, is there a way to make commands which target the wrecked battlecruiser (e.g. follow) point to a different location? Or does anyone know a better fix for this problem?

    The code I have (if it helps) is essentially:

    Unit - Create 1 Battlecruiser Hero -  Helios (Crashed) for player 0 at (Top-right of (Playable map area) bounds) facing RescueSpawn (No Options)
    Variable - Set TheRescue = (Last created unit)
    Unit - Change TheRescue height to 32.0 over 0.0 seconds
    Animation - Play Stand animation for (Actor for TheRescue) as Default, using No Options options and Default Time blend time
    Unit - Order TheRescue to ( Move targeting (RescueSpawn offset by 8.0 towards (Top-right of (Playable map area) bounds))) (Replace Existing Orders)
    ------- Offset by 8 to make it end up closer to where it should -------
    Unit - Change TheRescue height to 0.0 over 7.0 seconds
    General - Wait 7.0 Game Time seconds
    Animation - Play Death animation for (Actor for TheRescue) as Default, using No Options options and Default Time blend time
    General - Wait 3.5 Game Time seconds
    Animation - Play Dead animation for (Actor for TheRescue) as Default, using Play Forever options and Default Time blend time
    

    Where the map size is 64x64 and RescueSpawn is a point close to the centre of the map.

    Posted in: Miscellaneous Development
  • 0

    posted a message on What to change in the Galaxy Editor

    @Timthetoolman: Go

    Thats what I was saying here. Does anyone know why this is happening? The error is some sort of authorization issue.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on Custom Dialog Authorization Issue

    Sorry to bump my own thread (I hate it when people do that :p), but nobody else has this problem? Really?

    To anyone actually reading this post, please just test this quickly and tell me whether yours is doing the same. That'd be great, thanks.

    It appears other people are experiencing this issue also, does anyone know why this is happening? Does Blizzard? :p

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on Custom Dialog Authorization Issue

    I have noticed that custom dialogs don't seem to be working. For example, the following does not work:

    UI - Display a Message custom dialog with Title "A Title" and Text "A short message" for (All players) (Unpause game)
    

    I receive an error - "Calling 'UIShowCustomDialog' is not authorized".

    Is anyone else noticing this problem? It seems custom dialogs are completely unusable at the moment.

    Posted in: Galaxy Editor Bugs and Feedback
  • 0

    posted a message on Map is dropping players... why?

    It seems to be a loading screen issue - mine was set up differently to Acemore's (wait for key was checked!), but nevertheless I found resetting the loading screen to defaults fixed the problem.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Item Container - Change Model?

    Ah yes, the catalog is more or less what I was looking for. Can't believe I didn't know about that stuff, it's awesome!

    Only trouble I had was getting the string of the unit to set it to :s there's no 'text-to-string' only 'string-to-text'. Ended up with:

    Catalog - Set value of Item Containers "Inventory" "Model" for player p to (String((Unit type of u)))
    

    Which seems to work perfectly.

    Thanks!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Item Container - Change Model?

    @RileyStarcraft: Go

    Catalog Field Set you say - I'll look into it, haven't really looked at the catalog stuff. Changing it for every unit is fine for me, since the player should only have one unit in this game (or, at least, only one with an inventory). As long as it doesn't change for every player.

    I'll get back to you on whether or not it works.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Item Container - Change Model?

    Hi, I'm wondering how I can change the model used for an item container depending on what hero has the container (I'm guessing through triggers). Sounds trivial, but I can't seem to find how. Also, the 'empty face' for the slots, how can I make different empty faces for weapons/armour slots etc. the field under slots doesn't seem to affect anything?

    I've only got four different hero types atm, so if I have to make four different containers that's do-able, just not the 'ideal' method.

    Thanks.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.