DooMBoy Posted October 19, 2002 How exactly do I do this? Like say for instance I want a script to run at the beginning that will make the water in map01 bright blue? How would I do that? 0 Share this post Link to post
Epyo Posted October 20, 2002 you mean like this?script 1 OPEN { Sector_SetColor (1, 0, 0, 220); } Replacing (void) with OPEN will cause the script to run as soon as the map is started. 0 Share this post Link to post
Cyrez Posted October 20, 2002 to clarify that a bit for you here is a breakdown of Epyo's script script 1 OPEN { Sector_SetColor (1, 0, 0, 220); } OPEN means run at map start (VOID) means not till activated basicly (1, 0, 0, 220) 1 is the sector tag # 0, 0, 220 is the rrr, ggg, bbb hex colors if this is for zdoom and wadauthor i recomend taking alook at Ricks tutorials located here http://zdoom.notgod.com/zdkb/zdoomindex.html 0 Share this post Link to post
ReX Posted October 20, 2002 DooMBoy said:How exactly do I do this? Like say for instance I want a script to run at the beginning that will make the water in map01 bright blue? How would I do that? Scripts are a powerful way of implementing both ZDooM-Hexen and regular DooM actions. However, I've found that it's simpler to use linedefs to trigger single actions and scripts to activate multiple actions. (Unless of course you want a special to be active as soon as the map starts -- in that case an open script is warranted.) 0 Share this post Link to post