A Guide to Sentry abilities! (Difficulty 3/10)

In a recent game of mine, I didn’t want the boss to just a normal sentry. I decided that I would give it abilities. And now, you can too!

Sentry (duh)
Notification
Repeater🤢
Optional: Zone, other sentries, props, damagers, Etc

Step 1

Take the sentry and give it your gadget of choice and give it the skin of your choice as well. Next, Give it a name.

Step 2

Go to the notification and make a new block: When receiving on channel “Ability Start”.
Make a new variable named “Abilities”. Then, Add a block that says, Set Abilities to random interval from -Number- to -Number-. (just put how many different abilities you want your Sentry to have. I will have 3.) Then add a block that says: If random = 1: Send channel on “Ability 1” You can copy this for each of your sentry’s abilities.

Step 3

Next, set the repeater interval to however long you want in-between your sentry’s abilities. Next make it so that when the repeater runs a task, send channel on Ability Start. On the map, you can add what the players will be seeing. For example, My sentry’s first Ability spawns “asteroids”. (Red Zones with damagers.) I will set the Zones to NOT be on when the game starts. Then, tell them to activate when receiving on “Ability 1.” Also you can Do the same for sentries with spawning and with props!

I sure hope this helped!

How hard was this guode?
  • 1/10
  • 2/10
  • 3/10
  • 4/10
  • 5/10
  • 6/10
  • 7/10
  • 8/10
  • 9/10
  • 10/10
  • 11+/10
0 voters
5 Likes

Nice guide! Now I can make a Pokémon game!

This helped me with the boss battles in my game!

guode

1 Like

Noice. This guide is noice. Really useful. Will possibly use this for my map.

1 Like

First of all, good guide.

Next, In step 2 you had code like this


You could have just used concatenation, in which you could simplify the code. This is probably not very smart on my part because I’m just going to type it out.

Here is an image

The thing is, you don’t need to make 3 different if statements, using that thing I mentioned called concatenation, you could just randomize your abilities, and just concatenate the broadcast value.

set `Abilities` to: random integer from 1 to 3
Broadcast Message on Channel: 'Ability
                              'Abilities'

In case this is a bit difficult to understand, basically, when you randomize your value, you don’t need to check each individual number, instead, if you notice your Broadcast Channel block, they all share that “Ability” word in it. So instead, you could combine the ‘Ability’ text block with the value of the ‘Abilities’ variable, so you would still end up broadcasting a value like ‘Ability 2’. Note that since it is a number you might have to use the Convert Numbers To Text block.


Next thing, your guide is basically a randomizer guide. Not only did you barely mention any abilities other than that Asteroid one your code resembles that of a randomizer. I would suggest that if possible you could at least offer some possible ideas and maybe even a section for brainstorming, because as of now, it’s just another randomizer guide we don’t need.


This is just a suggestion, I am not trying to be mean or anything, but it might benefit if you could at least try working on some of these suggestions. Still, this is a good guide and it is not bad, it could just use some tweaking :+1:

And another thing! Instead of using a repeater, try using a trigger loop instead.

5 Likes

Could you show us (me) this simplified code? (Unless greenie disapproves of it…)

1 Like

Well then maybe you could make your own guide on these ways.

I dont know how to use repeater intervenal

It’s really simple, in the repeater device there’s an actual setting that tells you how often you want the repeater to go, click that and set your repeat time.