It is for my platformer map
there is no memory efficient way of doing this, sorry
there might actually be a way
ok
In this case, there are 10 sections.
Needed:
20x Granters
10x Zones
...
Alright…
ok what else
First: choose the item for the score
Second: connect two granters to one zone
Third: repeat 2 until all are connected
Fourth: Set all granters to grant the item for the score (I. e. Gold Seeds)
I gtg
bookmark please
why not just a counter and property then…
for all of them
I’m confused now
can’t connect item granters to anything
If wires cant connect to the granter then I cant help you
What if...
You really thought… Womp Womp
What was the point in this comment?
Setup
1x Property
5x Triggers (DEPENDS ON YOUR MAP LENGTH)
5x Zones (DEPENDS ON YOUR MAP LENGTH)
1x End Game Widget
Take your property and change it to a Number Property. Set the starting value to 0, set the scope to player.
Triggers & Zones
Place down the 5 triggers in an outside area of your map, place the 5 zones in areas where you want to count the distance from the end score.
When the player enters zone Transmit on “Update distance”. On 1 trigger only, make it trigger when receiving on “Update distance”.
Go to the block code of the trigger and follow these steps:
- Go to the first tab in the top left and grab an Update Property block, place the property down that you made earlier.
- Go to the Math tab and grab a blank number block.
- Place the blank number block into the “Value” section of the update property.
- Change the number to the distance from the zone to the end score.
Repeat this for every trigger.
End Game Widget
WIth the end game widget, don’t change any of the first few settings. Scroll down to “Property” and type in the property you made earlier. In the text box type “Distance from End Score”
Hope this helps!