How do i make 2 things. pls help quick [NOT RESOLVED]

How do I make:

  1. A notification system like seen in Tag: Domination, where every 45 seconds, players get a notification saying “Run Away” and “Go Tag”. The two notifications alternate, resulting in a “Run Away” (45 sec later) "Go Tag) system that repeats.

  2. A notification system to notify players when they have capped out on the max amount of energy(say 25,000).

1 Like

For number 1 use a game overlay and then I think you need to use blocks to change the number.

1 Like
  1. For the notification system, you can set up your own variables, but in the following images are something similar to what you should do.

Step 1: Place a repeater and a notification system down and wire them.

Step 2: Let’s now change the value of the repeater to 45 seconds.
Screenshot 2023-06-07 20.20.02

(note: if you want the repeater to run the whole game, change the stop method to After receiving on channel)

Screenshot 2023-06-07 20.20.48

Step 3: Click on the notifications, then go into blocks.

Screenshot 2023-06-07 20.21.46

Step 4: In the menu, select On Wire Pulse.

Screenshot 2023-06-07 20.22.39

Step 5: Write down the code

(This is just an example code, I did not put down a property block, you’ll have to do that and customize it yourself, but this is the basic code you can modify)

And that is the Tag Domination System.

  1. To notify a player when they have capped out of energy, add an inventory item manager and set it up to energy

Screenshot 2023-06-07 20.41.42

Now head over to behavior and select max amount; change it to 25,000

Screenshot 2023-06-07 20.42.26

Now we make the manager update a property, then create the property itself.

Screenshot 2023-06-07 20.44.49

After adding the property block, change the values as followed:

Now that we have our property, we can add a trigger to the questioner to send the notification

Now open trigger, select blocks, and make a new on triggered function. Here is the code for it:

Screenshot 2023-06-07 20.50.00

Now that we have that, all is left is to add the notification block. Add the block and modify the following:

That is the end of my short tutorial. Hopefully this helps you out a lot!

3 Likes

@Ben10
thank you a lot, the second one worked!
however, the first one, i can not figure out how to set up the property
could you do what you did for question 2, which is to say, a step by step tutorial?

1 Like

have you put down a property device

1 Like

yes but it wouldnt work

1 Like

elaborate please

1 Like

i just dont understand how to properly set up the property
and it would prove beneficial to have a step-by-step guide

1 Like

Did you set the property type to number?

1 Like

no i used a text property

1 Like

I made my own way of doing it.

First

Get one item granter, one property device, one repeater, two notification devices, one lifecycle, and four triggers.

Lifecycle

Set it to game start

Repeater

Set the repeater to the following setup:

Property

Set up the property device as pictured:

Item Granter

Go to the item granter and set it up like this:


then go to the blocks section, select when recieving on channel, and name the channel tag.
Next, make these blocks:

done with the item granter

Triggers

Set up four different triggers, two for gotag, each with team 1 and team two, same for runaway.

Wire it all up and your done:

Congrats on doing this!

2 Likes

tsym
i’ve posted abt this topic like 4 times
and this is the first one to work

2 Likes

no problem, im just (as my name says) Here to Help

1 Like

yes you are thanks u again

2 Likes

i just realized you said tsym, not tysm

1 Like

Set the property to number not text

1 Like

you noticed
:slight_smile: good job

2 Likes

@TortoiseTank2 set up the property like so

Don’t use testprop as the name, set it to the name you want

1 Like

I tested the system again, and it will only send the notification to one team. On top of that, I will always get “Go Tag”, even if it isn’t my turn to tag. Any idea how to fix this?

1 Like

Why is that so overcomplicated? And you don’t need the item granter…

1 Like