Solved Gravity and visible of armostand

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

MrNygus

Active Member
Jan 28, 2017
116
2
18
26
Can't understand this condition/effect: set is visible of {_target2} to false
Can't understand this condition/effect: set has gravity of {_target3} to true

Which of addons can do this? TUSKE doesn't work.
 
SharpSK:
code_language.skript:
add nbt "{Invisible:1}" to {_target2}
add nbt "{NoGravity:1}" to {_target3}
[Skript] ':1}"' is not a valid item data (skriptttt.sk, line 27: add nbt "{Invisible:1}" to {_target}')
 
code_language.skript:
effect make %entities% (normal|large|1¦tiny) [size[d]]:
  trigger:
    loop expressions 1:
      if parse mark is 1:
        try loop-value.setMarker(true)
        try loop-value.setSmall(true)
      else:
        try loop-value.setMarker(false)
        try loop-value.setSmall(false)

effect make %entities% [(1¦in)]visible:
  trigger:
    loop expressions 1:
      if parse mark is 1:
        try loop-value.setVisible(false)
      else:
        try loop-value.setVisible(true)

effect (disable|1¦enable) %entities%'[s] custom name:
  trigger:
    loop expressions 1:
      if parse mark is 1:
        try loop-value.setCustomNameVisible(true)
      else:
        try loop-value.setCustomNameVisible(false)

effect make %entities% [(1¦in)]vulnerable:
  trigger:
    loop expressions 1:
      if parse mark is 1:
        try loop-value.setInvulnerable(true)
      else:
        try loop-value.setInvulnerable(false)
skript-mirror
 
Or
code_language.skript:
add "{Invisible:1b}" to nbt of {_target2}
add "{NoGravity:1b}" to nbt of {_target3}
 
Last edited:
Status
Not open for further replies.