Property Help, Help me

So I have made a successful pseudo currency and now I want it for when you get knocked to switch to another property, but I have tried everything atleast and it isnt working

once I got this figured out I am now annoyed because the math in the block is not working correctly to calculate if you get knocked the math would be 50 X 0.375 375 is an example of leftover gold

can someone help

4 Likes

Use a true/false property to sort how each one changes along with if statements

1 Like

could you show me with an image? I bad with at no images

1 Like

Hello? can anybody help

1 Like

So your question is confusing me…

So you want property “Gold” to be set to a different property when you get knocked out?

4 Likes

people might think this is already solved because you put thank you In the title @Gimkitsuggestor

2 Likes

Yes

2 Likes

So knockout manager when player knocked out broadcast “Triggercode” then trigger has code set “Gold” to ________

________ = your different property

Is your “Different Property” change by player or game or is it the same property every time.
I forget you might have to have a lifecycle on game start activate the knockout manager I forget.

2 Likes

could you show me images possibly?

2 Likes

Knockout Manager:

Trigger:


Screenshot 2024-10-29 8.41.17 AM

This should be it…

1 Like

Now about the

50 X 0,375 part… it aint working lemme go grab an image

1 Like

image
the block code is correct but somehow coins aint dividing by 1000

1 Like

Is what you’re trying to get the system in Doors, for every 100 coins, when you die you get 1 Knob?

2 Likes

Let me Explain, So you get 50 coins for completing the floor
but if you get eaten then its 50 X 0.375 = your amount of knobs earned
thats DOORS System

375 is your leftover gold

1 Like

I just need to figure out what the heck is wrong

1 Like

Hold on. Knobs are what you get when you die or win. Coins are what you get when you loot the drawers. Now explain again please using “Knobs” or “Coins”.

3 Likes

I just revised

2 Likes

This is what I would do:
Have a trigger that would trigger when the player dies and have it run this code:
image

1 Like

I tried putting a decimal into it but it wasnt working!!

so you were able to do it though…

so thats annoying

1 Like

And this should update the overlay right? since the amount of coins and knobs is on a overlay

1 Like