0x0 location
Oct 12 2008, 6:38 am
By: Ashamed  

Oct 12 2008, 6:38 am Ashamed Post #1

Hear me Raor!!

K i am doing a trigger like this

Trigger
Players

  • player 1
  • Conditions

  • player 1 brings anyunit to "location"
  • Actions

  • center location "location" on player one at "location"
  • preserve trigger


  • and this works fine when I'm using a 1x1 location i was just wondering if there's anyway to use a 0x0 location because i need a smaller location for some reason when i use the 0x0 it doesn't work is it just too small? please help :)



    None.

    Oct 12 2008, 6:58 am O)FaRTy1billion[MM] Post #2

    👻 👾 👽 💪

    A 0x0 location does not exist; setting a location to 0x0 is how StarEdit/StarCraft determines an unused location. I believe that to be true with a location where any dimension is 0.



    TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
    EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
    EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
    MapSketch - New image->map generator!
    EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
    SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
    \:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

    Oct 12 2008, 7:03 am Ashamed Post #3

    Hear me Raor!!

    No it sure works.... like it will do everything i want it to do... but center location preserve... it will give a unit to another player but the second i want it to stay on a unit it does not work...



    None.

    Oct 12 2008, 7:05 am O)FaRTy1billion[MM] Post #4

    👻 👾 👽 💪

    O.o? I've never heard of it working. ... But a 0 location is an unused location. I don't much feel like looking at the move location trigger right now, though.



    TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
    EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
    EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
    MapSketch - New image->map generator!
    EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
    SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
    \:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

    Oct 12 2008, 9:38 am Devourer Post #5

    Hello

    Quote from Ashamed
    No it sure works.... like it will do everything i want it to do... but center location preserve... it will give a unit to another player but the second i want it to stay on a unit it does not work...
    it works, doesn't a 0x0 location with a wav trigger simulate footsteps??

    back to your problem; make "Options -> Locations -> No Snap" and make it very small ^^



    Please report errors in the Staredit.Network forum.

    Oct 12 2008, 9:52 am Riney Post #6

    Thigh high affectionado

    Most people use a 1x1 cell location usually for footsteps.



    Riney#6948 on Discord.
    Riney on Steam (Steam)
    @RineyCat on Twitter

    -- Updated as of December 2021 --

    Oct 12 2008, 11:08 am NudeRaider Post #7

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Ok, we have to differentiate here. There's 1x1 block locations (=32x32 pixels) and there's 0x0 block locations (=1x1 pixels).
    So, if you want a location always centered on a unit, use the smallest location possible (1x1 pixels), your triggers above and hypertriggers!
    When you're not using hypertriggers the trigger loop is 2 seconds which is enough for the unit to escape the 1x1 pixel, so there's no unit in there to center on when the recenter trigger fires.
    But if you're using very small or very fast units even with hypertriggers you can escape the 1x1 pixel once in a while if the trigger loop comes the wrong time. In this case you have to enlarge your location a little (say 10x10 pixels) and you can do that - as devo already said - by disabling the snap to grid, or by entering the coordinates manually in the location properties dialog.
    But keep in mind, that increasing the location size holds the risk that the location might jump onto another same unit by the same player if next to each other.

    So to summarize, there's nothing wrong with your trigger, but you need hypertriggers. Depending on what unit you're following you need to increase location size a little.

    Btw. pls don't use the trigger template. It's still bugged.




    Oct 12 2008, 5:09 pm InsolubleFluff Post #8



    just throwing this out there, a 0x0 pixel location is entirely useless because it has 0 space, i'm sure a 1x1 location would work just as well :S



    None.

    Oct 12 2008, 9:01 pm Vi3t-X Post #9



    1x1 Pixel location, gogogo



    None.

    Oct 12 2008, 9:56 pm TheGoodLife Post #10



    Nothing is smaller than 1x1.



    None.

    Oct 12 2008, 11:04 pm NudeRaider Post #11

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Why did I just make an elaborated post to eliminate the confusion about locations?! Care to read anyone?




    Oct 13 2008, 12:02 am RIVE Post #12

    Just Here For The Pie

    I recall being able to use 0.5 x 0.5 locations, but I never knew you could use a 0 x 0.. :wtfage:



    None.

    Oct 13 2008, 12:26 am Falkoner Post #13



    0x0 = 0 pixels. 1x1 = 1 pixel.

    I don't know who came up with the name 0x0...



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [07:43 am]
    NudeRaider -- Vrael
    Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
    Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
    [06:36 pm]
    RIVE -- Nah, I'm still on Orange Box.
    [04:36 pm]
    Oh_Man -- anyone play Outside the Box yet? it was a fun time
    [2024-4-29. : 12:52 pm]
    Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
    [2024-4-29. : 11:17 am]
    Zycorax -- :wob:
    [2024-4-27. : 9:38 pm]
    NudeRaider -- Ultraviolet
    Ultraviolet shouted: NudeRaider sing it brother
    trust me, you don't wanna hear that. I defer that to the pros.
    [2024-4-27. : 7:56 pm]
    Ultraviolet -- NudeRaider
    NudeRaider shouted: "War nie wirklich weg" 🎵
    sing it brother
    [2024-4-27. : 6:24 pm]
    NudeRaider -- "War nie wirklich weg" 🎵
    [2024-4-27. : 3:33 pm]
    O)FaRTy1billion[MM] -- o sen is back
    [2024-4-27. : 1:53 am]
    Ultraviolet -- :lol:
    Please log in to shout.


    Members Online: jjf28, NudeRaider