Hi,
Can anyone show me how to make things have a random percentage.
so for example look at the number drop games-
there is probably a code saying 30% drop a number 2, 40% drop a number 16, 10% drop a 32, 20% drop a number 8
or something similar
so how do i get this into construct 3?
for now i use:
spawn object at random x and y for the layout , and then i have 2 object detectors - half the size of the layout together so that the whole layout is covered by them, and then i use- object on collisions with left object detector set variable to 1 or on collisions with right detector set variable to 2
and then in the event sheet id code - if var is 1 spawn (example) tiger and -if var is 2 spawn (example) lion
yes so i know this isn't the correct method but i cant find of any other way
thanks in advance
Radkampfwagen