Soc'ing monitors?

Status
Not open for further replies.
Is there a way to create a monitor using socs that executes a specific console command?

Any help welcomed.
The only way to have SRB2 automatically call console commands is through scripts, which can either be stored as a text file, or as a lump inside of a wad. Though scripts can be activated manually in the console or by linedef, SOC has no direct way of doing so. However, using the action A_LinedefExecute, you can make an object(such as a monitor) active a run script linedef that you placed within the level to activate the script.

Hope that helps.
 
Of course, this means that you cannot use this monitor on maps that don't have the appropriate control sector for the script execution, so if you wanted the monitor to function on other maps, you'd need to make the map have the script-executing sector. If you wanted your monitor to show up in SRB2's default maps or something, you're out of luck unless you modify them all.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top