How to activate a button only for host

I know, I have already read through many posts, but all of them only have lifecycle(game start)->activate button. I want the button to activate on a channel for only the host, not right when the game starts. Is this possible?

1 Like

if you have it on Free For All, you could use a relay set to all players on specific team: team 1

1 Like

sadly, I have 2 teams.

1 Like

use a player-scoped property

1 Like

Please search before you post.

2 Likes

Nitram12233 specifically said that they read guides and all of them have lifecycles. This one is not exempt from that, which is why this post was created. So, they have probably already read this guideline, and it was not helpful to them. So, you posting this one may not be helpful to them.

1 Like

this might help you

Look at NotYoyo’s post.

1 Like

but they have the same problem, it doesn’t work on a channel

Maybe the host could have a different spawn pad and if you spawn there it then activates a counter after teleporting you to the rest of the map?
Counter reaches 0 (if decreasing) → activate button (make sure player scope)

1 Like

Here is a little more background, I have different gadget options, if and only if there is a tie, then I want the host to be able to choose the gadget. So the countdown option doesn’t work.

1 Like

Ohhh.. so you want a way for the host to be able to manually select a gadget if votes for a gadget are tied?

Yes, exactly. (20 character limit)

k then, you could do a lifecycle that triggers a trigger loop, since triggers know inherently who triggers itself, and then at a certain point, break out of that trigger loop by using a property that acts like a flag to signal ending the loop, then spawn the button.

not tested, pure theory because of the fact that triggers and anything connected to them can inheirit the triggerer.

2 Likes

maybe this could work, could you give more precise info, and maybe pictures?

2 Likes

Put a spawn pad and set its “Spawn pad scope” to host only.
Build walls around it so its a private room
Put your button device inside the room
In the Button’s settings, set “Button scope” to player, or visible to all players, if you want it there, but hidden or inactive
set “Button active” to disabled by default (or uncheck “active on game start”
Place a trigger or relay device in the host-only room
wire the spawn pad (when player spawns) to the trigger/relay
wire the trigger/relay to the button (when received.)to activate it
Wire the button, (when button Pressed) to the action you want (another trigger, a game setting, a teleporter)

4 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.