Logic · Step
Player portal: set can create portal
Changes the player portal's can create portal before the server goes on with it. Paper: the server should attempt to create a destination portal or not. Only before any Wait.
m.on.player_portal.set_can_create_portal
In a flow
“When a player uses a portal → Player portal: set can create portal → Done”
When a player uses a portal → Player portal: set can create portal → Done
What it does
Changes the player portal's can create portal before the server goes on with it. Paper: the server should attempt to create a destination portal or not. Only before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: changes the player portal's can create portal before the server goes on with it. Paper: the server should attempt to create a destination portal or not. Only before any Wait.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Can create portal Yes / no
-
The player portal's new can create portal.
What goes there: Type it in the side panel, or wire in true or false. e.g. true
If it's empty: Optional. Left alone, it's off.
Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more