Author Topic: [done] event_giverandomlist  (Read 957 times)

-snip-
I have no idea how to delete this.



So event_giverandomlist would be an event where unlike the original event, you can get random items but only form a very specific list that the player chooses.
That way when you open a secret loot crate or whatever its used for, you get a gun instead of a hammer or a duplicator (lol)


Just a random idea/request that I thought might be useful.

The only issue is.... How can we make it to select the items?
A second event like "setitemtolist" or "clearitemlist" maybie?
« Last Edit: September 29, 2017, 04:04:23 PM by Ultimate host »

people can use numpad to select items

No way? for real? I didn't know the event had such functionality.
My bad.

https://forum.blockland.us/index.php?topic=298505.0

place special bricks of a single color, spawn items on them, then use the event and select the brick color in the giveRandomItem event. it will pick an item from the set of existing special spawn bricks

https://forum.blockland.us/index.php?topic=298505.0

place special bricks of a single color, spawn items on them, then use the event and select the brick color in the giveRandomItem event. it will pick an item from the set of existing special spawn bricks
are they weighted by how many items of one kind are spawned on the bricks?

ie if red had 2 rocket launchers and 1 gun, would it be a 2:1 ratio of rockets vs guns given?

are they weighted by how many items of one kind are spawned on the bricks?

ie if red had 2 rocket launchers and 1 gun, would it be a 2:1 ratio of rockets vs guns given?
Fairly certain it's just the rarity that causes randomization, not the number.

OP, if you want to have weighted systems would recommend projectile randomizers.

are they weighted by how many items of one kind are spawned on the bricks?

ie if red had 2 rocket launchers and 1 gun, would it be a 2:1 ratio of rockets vs guns given?
yes it does.