Elementium Sign in
Contents

Starts when · Starts a flow

When a player tries to pick up an item

Starts when a player walks over an item they could pick up. Cancel it to stop pickups.

Basic plan m.on.player_attempt_pickup_item

In a flow

“When a player tries to pick up an item, the steps wired after it run.”

When player attempt pickup item → Broadcast {trigger.fly_at_player}

What it does

Starts when a player walks over an item they could pick up. Cancel it to stop pickups. It starts a flow, and gives the steps after it values about what happened. It gives 4 values later steps can use. Find it under Starts when in the palette.

When to use it

Use it to start a flow when a player tries to pick up an item.

When not to

If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.

Typical wiring

Values it gives

Player Player

The player it's about. Wire it into any Player pin. e.g. Alex

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more

Fly at player Yes / no

The fly at player of the player attempt pickup item. e.g. true

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

Item Entity

The item of the player attempt pickup item. e.g. Zombie

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more

Remaining Number

The remaining of the player attempt pickup item. e.g. 1

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Often next

Related in Starts when

Wires and sockets · Data values · Plans