j_dickerson09 Posted November 29, 2011 Kinda related to my "Scripted Music Stings" post. I found out how to script a music change when the player enters another sector, but I couldn't find anything regarding if an enemy spots you. Does anyone know how I can throw in a script where when an enemy spots you/gets shot by you, then the music changes?? 0 Share this post Link to post
TimeOfDeath Posted November 29, 2011 If the monster is standing still until it sees you or gets shot by you: maybe you could put a linedef exactly where the monster is standing, then when it wakes up it walks over the line to activate the script? 0 Share this post Link to post
Kappes Buur Posted November 29, 2011 http://zdoom.org/wiki/Category:ACS_Information_functions You could play around with this http://zdoom.org/wiki/CheckSight ( The ZDoom WIKI is your friend © ) 0 Share this post Link to post
j_dickerson09 Posted December 2, 2011 TimeOfDeath: I went with your solution and it works great. The linedef is only triggered when an enemy trips it. I'm still trying to figure out how to make the music return to normal, but I feel like there's a workaround to it. Kappes Buur: I'll try my best to read into making this function exactly how I want it to. Still green on ACS scripting. Thanks guys! 0 Share this post Link to post
TimeOfDeath Posted December 2, 2011 When do you want the music to return to normal? after the monster is dead? 0 Share this post Link to post