Entity name for Experience Bottles

  • 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.

Aidanete

Active Member
Apr 11, 2017
139
10
0
code_language.skript:
if {_rev} is 25:
            set {_ait} to random integer between 1 and 7
            loop {_ait} times:
                wait 1 tick
                shoot 1 experience bottle from {lnbp.%player%} at speed 2 downwards

This code up here should shoot a random number of xp bottles between 1 and 7 downwards, but it doesn't understand what means experience bottle I think.

Error:
Can't understand this condition/effect: shoot 1 experience bottle from {lnbp.%player%} at speed 2 downwards

Help!
 
Try using:
code_language.skript:
shoot bottle of enchanting from {lnbp::%player's uuid%} at speed 2 downwards

# Lists variables are better for many reasons, use them  as much as you can.
If it doesn't work file an issue here (but only if you're using this fork, and you should :emoji_wink:):
https://github.com/SkriptLang/Skript/issues

Okay...

How do I file an issue?

EDIT: New Error:
"::%player%} at speed 2" is not a valid item data
 
Last edited:
Status
Not open for further replies.