Help me With 1 Problem With My Game

I’m Working on a jail break game and the police could harm the prisoners only if the prisoner had a danger level higher than 0 But If 1 Person had at least A danger level of 1, the others that had a danger level of 0 could be shot to death
I’ll send you a prototype so you know what I am working on and help me with this problem

Look at this awesome #ReadyMaker project made with @getreadyio!
https://ready.app.link/FeAzIYp7f2

3 Likes

Hi @ep5432,

Instead of “affected object” try “Selected instance”. Refer to the last several posts of this thread: https://forum.getready.io/t/evaluation-of-event-booleans/3568/10

(I wasn’t able to verify whether this helps because I wasn’t able to hit any targets :stuck_out_tongue: )

3 Likes

I Did It Then When I Hit The People It Didn’t do anything, But Thanks For Atleast Trying To Help Me :smiley:

3 Likes

Thanks for sharing your results, @ep5432. After the earlier thread I thought I finally understood “affected object” vs “selected instance” but with your present use case I feel confused all over again :crazy_face: :upside_down_face:

3 Likes

The easiest way is for all sprites to be original and not clones.
You can use a Counter or Variable for each sprite for health points and danger level.
I can 't view your code on my Android tablet as the Ready app is glitching and not letting me sign in using google.

Edit:
I uninstalled and installed again and the app auto logged in.

4 Likes

Thanks For Your Feedback! :grinning:

4 Likes

Sadly I Did That And It Didn’t Work But I Went For An Alternative. So, If The Cop Kills Too Much Prisoners During The 1 Minute He Will Be Gone For A Maximum Of 20 Seconds. Thanks For Atleast Helping (:. Also Sorry For Replying So Late

3 Likes