Ideas for an FFA map

Hello I’m creating an FFA “COG” call of duty nuketown map for Gimkit I need help with getting only three lives per person.

Lifecycle(when knocked out)~~~> counter with target of three(when target value reached)~> team switcher (switch to spectator)

3 Likes

Welcome to the Forums!

Have a lifecycle on player knocked out. Have that increase a counter. Have the counter have a target value of 3. Once it reaches three make it trigger a team switcher to switch them to a spectator or end the game.

1 Like
Better Version (of my guide)

First, place a Lifecycle.
Set the Event to “Player Knocked Out.”
IMG_1517
Then, place a Counter.
Here are it’s settings:

Set the “Starting Value” setting to the number of lives you want each player to start with.
Set the “count scope” to player.

Now, place your property.
I’ll call mine “LivesLeft” but you can name yours whatever you want.
Set the “Property Type” to Number and set the Default Value to the number of lives you want each player to start with.
In the “when property value changes” channel slot, make it broadcast on “updateoverlaylivesleft” or whatever channel you want.
This will be important for the blockcode.

Let’s go back to the Counter.
Go to the “Property” tab and set “Update Property” to “Yes” and put the property you created.

Wire the Lifecycle to the Counter.

(Lifecycle) Player Knocked Out —> (Counter) Decrement Counter

Place your Game Overlay.
Set the Overlay Type to “Text.”
Set the “Content Scope” to player.

Finally, go to the Game Overlay’s blocks.
Create a new block when receiving on a channel.
Now, make it receive on “updateoverlaylivesleft” or whatever channel you put in the property’s “when property value changed, transmit on” chanbel slot.

Put this blockcode in:

BLOCKCODE KEY:

”Set Text” = For This Device

”Create Text With” = Text

”Get Property” = Essentials

” Lives Left” = Text

okay um i just copied this from a post i made

5 Likes

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