1. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

how to execute a command relitive to entity when a testfor cmd is true in one command block

Discussion in 'General Guides' started by DestroyerMCE, Apr 6, 2017.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. DestroyerMCE

    DestroyerMCE New Member

    Joined:
    Apr 6, 2017
    Messages:
    4
    Ratings:
    +0
    there are to ways to do this. you can execute the command from a player (or other entity) or the actual cmd block.


    the first one is from entity. type in /execute <1st entity EX:rage:a> <relative x y z EX:~ ~ ~>

    then type this in /execute <2nd entity EX:rage:e[type=zombie,r=5]>

    then /execute <1st entity with c=1 tag at the end EX:rage:a[c=1]>

    and finnaly your command


    thought this would be helpful for some people and hopefully it is [​IMG]
     
  2. MattM1PVP

    MattM1PVP Ex-HG Staff Member

    Joined:
    May 22, 2015
    Messages:
    2,148
    Ratings:
    +705
    what do i do with this info
     
  3. Mason479

    Mason479 Well-Known Member

    Joined:
    Mar 31, 2016
    Messages:
    246
    Ratings:
    +200
    Discord:
    Mason479#6485
    The more you know~
     
  4. TheZombieKat

    TheZombieKat CTFer since May 2012

    Joined:
    May 18, 2015
    Messages:
    1,161
    Ratings:
    +354
    Uhm, thanks... I think? I didn't understand any of that, but yeah.
     
  5. SoullessAngel_

    SoullessAngel_ Ayo why you lookin

    Joined:
    Aug 23, 2015
    Messages:
    2,910
    Ratings:
    +1,048
    IMG_1837.JPG
     
    • Funny Funny x 2
  6. Lekosa1

    Lekosa1 mineman

    Joined:
    Sep 26, 2014
    Messages:
    3,323
    Ratings:
    +1,677
    Cool stuff even though I didn't understand anything. :smile:
     
Loading...
Similar Threads Forum Date
Idea /testmap command MinecraftBuild Feb 25, 2021
Idea New command for build? MinecraftBuild Dec 31, 2020
/grow command for build Suggestions / Ideas Dec 29, 2020
/reportmap command Suggestions / Ideas Dec 29, 2020
Complete Command Map Submissions Aug 23, 2020
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...