im trying to make an object come up at random. the belnd file has my idea but this issue is that when i use it it isnt random it always uses the same order each time i run it… this may be used for an rpg with a battle system like Pokemon or final fantasy ya know like how it chooses the enemy that you fight.
is there a better way of doing this?
rand.blend (141 KB)
The blender Random actuator isn’t real. I don’t much about it, but I think it already has a number picked from the beginning and then just uses the same order each time… I guess that’s why on Blender.org it says "Use python for a real randomizer. :S
Sorry, man, don’t worry, python is very easy to learn!
k im learning python now lol thanx anyway…
## This chooses one of the numbers listed..
number = random.choice([1,2,3,4,5])
## this chooses a number between 1 and 100
number = random.randrange(1,100)