• 0

    posted a message on Destroyed units showing up in fogged map

    Units i've previously destroyed are showing up on the fogged part of the map (before it becomes discovered). They are enemy units so i'm not sure why they're showing. How do i fix this to where when i destroy a unit, it doesn't show up in fog.

    Posted in: Triggers
  • 0

    posted a message on Editng Data fields

    @basballguy: Go

    resolved myself...i didn't realize there was a "View Raw Data" button which i had checked.

    Posted in: Data
  • 0

    posted a message on Editng Data fields

    I've been watching some (old) youtube videos that use the data editor and i've noticed on a few of them if you double click on the data element (like Veterancy), it brings up a pop up window that allows you to determine what to populate into the field.

    I am not able to make these pop up windows appear. Is there a certain option i should be using?

    So for Veterancy's case, the guy in this video gets a window to key in levels and experience.....all i can do is modify the text field to a new value.

    Posted in: Data
  • 0

    posted a message on Lingering Footprints [RESOLVED]

    @TheAlmaity: Go

    thanks almaity...already tested and works...this makes my life tons easier cause now i don't have to create 300 units and move them every 5 minutes :)

    Posted in: Triggers
  • 0

    posted a message on Lingering Footprints [RESOLVED]

    @basballguy: Go

    so I'm looking for an answer to either fix my footprints problem, or assign units to variables once they're created.

    Posted in: Triggers
  • 0

    posted a message on Lingering Footprints [RESOLVED]

    @Neonsz: Go

    No problem doing that if i'm able to assign units i haven't created yet to variables. However i don't know how to do that.

    Posted in: Triggers
  • 0

    posted a message on Lingering Footprints [RESOLVED]

    I'm having an issue where moving a destructable unit via trigger is causing the footprint not to move with it. What is the best way to fix this problem?

    Posted in: Triggers
  • 0

    posted a message on Collision

    @DrSuperEvil: Go

    How do i know the footprint is lingering at the old spot? Do i need to update the data table for the unit every time i move it?

    What if i have multiple instances of the same unit?

    Posted in: Data
  • 0

    posted a message on Collision

    So i created around 30 wall units to form a wall.  on Initial placement, they have collision.  Once i run a trigger and move them somewhere on the map, units can pass through them.  I'm guessing I need to update CUnit_Collide +?  Can i do this after each time i move a unit?  Also would i have say 20 wall units that are the same model/unit in the data editor, can I do just one update?

    Posted in: Data
  • 0

    posted a message on Problem with Convert Rectangle To Region

    @Nerfpl:

    user error

    Posted in: Triggers
  • 0

    posted a message on Problem with Convert Rectangle To Region

    I'm having issues with the correct syntax for this function

    http://www.sc2mapster.com/wiki/galaxy/triggers/convert-rectangle-to-region/

    If i follow the syntax listed, then attempt to place a unit in the resized region, the unit is placed why outside the boundaries of the region, sometimes on the other side of the map.

    So given the picture below i went with:

    Variable - Set Region = (Region(2x, 4x, 2y, 4y))

    I went ahead and echo'd the x,y values to the game as objectives to make sure i have the points right and I do.  The unit placement isn't following it though...using the following action:

    Unit - Move (unit) instantly to Random Point in Region (No Blend)

    Posted in: Triggers
  • 0

    posted a message on Create unit and assign to array

    @Nerfpl:

    fair enough...what i want to do will involve a loop i can write but more or less

    do while (condition) {

    array[$var][$var2] = unit_create(marilne)
    array[$var][$var2 + 1] = unit_create(marine)
    array[$var][$var2 + 2) = unit_create(marine)
    }

    I understand the editor assigns a unit ID of some sort to each created unit so I was hoping this piece could be simple

    The problem i'm having is if i try to declare all units to their array value in map initialization, i get an error saying more or less i have too many triggers.  Can i break out where i declare global variables?

    I've tried this and failed:  

    using set variable:

    set array[$var][$var2] = unit Point(x,y)
    set array[$var][$var2] = unit Point(x+$var3,y)

    but does not work

    Posted in: Triggers
  • 0

    posted a message on Create unit and assign to array

    Playing with unit create, i can't seem to come up with a way to create a unit and automatically assign it to an array.  Is this possible without having to declare each variable like:

    unit[1][1] = blah
    unit[1][2] = superblah
    etc

    I feel like i have to create the units in one trigger and assign them to their variable in separate triggers.

    Posted in: Triggers
  • 0

    posted a message on General Question for a general forum! [RESOLVED]

    @Nebuli2: Go

    thanks!

    Posted in: General Chat
  • 0

    posted a message on General Question for a general forum! [RESOLVED]

    If i assign values to variables in Melee Initialization, are they local or global? I suspect local. If local, where do I assign global variables (in an array) a value?

    Posted in: General Chat
  • To post a comment, please or register a new account.