random contents Created 16 years ago2008-09-26 17:24:22 UTC by Jessie Jessie

Created 16 years ago2008-09-26 17:24:22 UTC by Jessie Jessie

Posted 16 years ago2008-09-26 17:24:55 UTC Post #256185
This might be important to an idea I have for a map, so i want to make sure whether or not it can be done.
Is it possible to have a box (or crate or something along those lines) that respawns (when triggered) and can produce a randomly chosen contents out of a few items when broken (like, produces either handgun ammo, satchels or medkits, but nothing else)?
It obviously requires a func_breakable, but i don't know 'bout those properties.
Jessie JessieTrans Rights <3
Posted 16 years ago2008-09-26 17:26:37 UTC Post #256186
Not really possible without additional or insanely complex entity setups.
Daubster DaubsterVault Dweller
Posted 16 years ago2008-09-26 17:47:14 UTC Post #256188
It can be done with a not that complex entity setup. Just look at the Random event tutorial, you can easyly make random events with an env_beam.
Posted 16 years ago2008-09-27 03:48:57 UTC Post #256189
hmm, where is that? i cant find it :plastered:
Jessie JessieTrans Rights <3
Posted 16 years ago2008-09-27 08:50:25 UTC Post #256217
We have no tutorial on random triggering, but we have an example map: http://twhl.co.za/vault.php?map=5137
Posted 16 years ago2008-09-27 15:50:41 UTC Post #256231
hmm... that might have been where i thought i saw it
Jessie JessieTrans Rights <3
Posted 16 years ago2008-09-27 16:16:48 UTC Post #256233
hey, that map doesnt work. I stuck a box around it and plugged in a playerstart, and it crashed the moment the map started. I dont get how its supposed to work anyway, the buttons target things that dont exist
Jessie JessieTrans Rights <3
Posted 16 years ago2008-09-30 03:09:55 UTC Post #256364
so does noone know, or what?? :\
Jessie JessieTrans Rights <3
Posted 16 years ago2008-09-30 05:24:22 UTC Post #256366
If the buttons' targets does not exist, set your own targets.
Oskar Potatis Oskar Potatis🦔
Posted 16 years ago2008-10-01 00:53:59 UTC Post #256367
and the crashing? :\

[EDIT] Ahh, nevermind then. I'll just change around the setup.
Jessie JessieTrans Rights <3
Posted 16 years ago2008-10-03 17:30:30 UTC Post #256602
ah-hah! I found the original, I'll see if this works!

http://twhl.co.za/vault.php?map=2788
Jessie JessieTrans Rights <3
You must be logged in to post a response.