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 on Discord.
    Riney on Steam (Steam)
    @RineyCat on Twitter

    Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

    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.
    [12:07 am]
    Vrael -- NudeRaider
    NudeRaider shouted: Vrael ranting still is though
    you're a gentleman and a scholar, thank you
    [2026-4-13. : 10:07 pm]
    NudeRaider -- ya why phone people when you can just write letters
    [2026-4-13. : 9:37 pm]
    IskatuMesk -- I have never and will never own a phone
    [2026-4-13. : 9:15 pm]
    NudeRaider -- Vrael ranting still is though
    [2026-4-13. : 9:14 pm]
    ClansAreForGays -- anticapitalism isnt edgy anymore
    [2026-4-13. : 3:31 pm]
    Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
    [2026-4-13. : 3:30 pm]
    Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
    [2026-4-13. : 2:13 pm]
    NudeRaider -- bro I don't go anywhere without my phone to record anything significant
    [2026-4-13. : 1:28 pm]
    Vrael -- Zoan
    Zoan shouted: not if u wer there
    id say even if you were there its tricky, human memory can be very faulty
    [2026-4-12. : 11:55 pm]
    Zoan -- not if u wer there
    Please log in to shout.


    Members Online: l)ark_ssj9kevin, seemlyfighter77, Zoan