trigger_once game crash Created 8 years ago2016-02-09 08:24:25 UTC by Spreen Spreen

Created 8 years ago2016-02-09 08:24:25 UTC by Spreen Spreen

Posted 8 years ago2016-02-09 08:24:25 UTC Post #328786
So, recently, I've made a map with a trigger_once brush entity. The trigger brush triggers an multi_manager which contains an env_message and airscripted_sequence.
Does anybody know a fix?
Spreen SpreenThis account is no longer in use.
Posted 8 years ago2016-02-09 08:31:39 UTC Post #328787
Try to eliminate variables - remove the env_message - still crash? What about the scripted sequence?

I've had some odd crashes involved with game_text entities before (which are similar to env_message). Try a setup where a trigger targets the env_message directly without a multimanager and see if you still get the crash.
Posted 8 years ago2016-02-09 18:06:19 UTC Post #328792
I bet it's that you didn't set the "All Clients" flag on the env_message.
Posted 8 years ago2016-02-09 21:03:49 UTC Post #328793
Is that required even in Singleplayer Unq?
Posted 8 years ago2016-02-09 22:49:23 UTC Post #328797
I think it is required if memory serves me correct. But in all honesty you're better off with a game_text entity. There you can also set the coordinates of where the text shall appear + few display effects. I too used env_message back then but eventually swapped em all out for game_text.
Posted 8 years ago2016-02-09 23:03:29 UTC Post #328798
You should use game_text for maps for Half-Life, whereas you can make use of env_message and titles.txt if your making a mod. This means you can make small tweaks if you made a typo, without needing to recompile any maps. :)

"All Clients" flag should only be required in multiplayer maps. I've never used it and not encountered any crashes.

The only time I did get a crash caused by an env_message was when I was actually entering the message text into the "message" field, which was too long. This was before I learned to use the codes from titles.txt

Derp... :P
monster_urby monster_urbyGoldsourcerer
Posted 8 years ago2016-02-10 00:24:59 UTC Post #328801
Game_text consistently crashes the game for me if I don't set the "All Players" flag. My bet was on the same result for an env_message. :)
You must be logged in to post a response.