The Whole Half-Life
TWHL
Forums
Wiki
Vault
Competitions
Discord
More...
Journals
News
Polls
Members
Go
Go
Login
Email or Username
Password
Remember Me
Login
Forgot Your Password?
Register
The Whole Half-Life
Level design resources for GoldSource, Source, and beyond
Featured mod:
TWHL Tower
by
TWHL members
Forums
Wiki
Vault
Competitions
Discord
Community
Journals
News
Polls
Members
Login/Register
Remember Me
Login
Forgot Your Password?
New user?
Create an account
Trigger random output?
Created
9 years ago
2015-06-23 02:39:44 UTC
by
_Vissova_
Forums
HL Engine Discussion
View Thread
Created
9 years ago
2015-06-23 02:39:44 UTC
by
_Vissova_
_Vissova_
Posted
9 years ago
2015-06-23 02:39:44 UTC
Post #326074
Is there a way to trigger a random output based on a number of them? For example, a button that opens a different door every time you press it.
_Vissova_
Oskar Potatis
Posted
9 years ago
2015-06-23 02:54:22 UTC
Post #326075
Sure, see
http://twhl.info/tutorial.php?id=178
Oskar Potatis
🦔
Captain Terror
Posted
9 years ago
2015-06-23 03:03:06 UTC
Post #326076
Mister Potato beat me to it!
Another method using a MM and trigger_changetargets to trigger random events by DiscoStu
Captain Terror
when a man loves a woman
DiscoStu
Posted
9 years ago
2015-06-23 03:53:54 UTC
Post #326077
Technically mine is pseudo-random and its randomness depends entirely on the player's human randomness.
DiscoStu
_Vissova_
Posted
9 years ago
2015-06-23 04:17:08 UTC
Post #326080
Thank you for the responses!
_Vissova_
Jessie
Posted
9 years ago
2015-06-23 05:06:35 UTC
Post #326081
Random is easier with Spirit. Like, a single entity easy. But that's probably a moot point.
Jessie
Trans Rights <3
You must be logged in to post a response.