On entity pick up, event-entity

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

Herosteve198G

New Member
Mar 19, 2020
6
0
1
17
I want to make a custom fox pet and I ran into this error with entity pick up, regarding event-entity. I found out about event-item entity but I couldn't find the argument for the entity that picks up the item. If anyone knows what the argument is, please let me know.
1717997264464.png
 
Code:
on entity pickup:
    broadcast event-creature
    if event-creature is a fox:
        broadcast event-item
 
maybe use %event_(item/creature/player/ect.% instead of just event-item/creature/player/ect.
 
Code:
on entity pickup:
  broadcast %event-creature%
  if event-creature is a fox:
    broadcast %event-item%