Hard Light Productions Forums
Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: WMCoolmon on January 14, 2007, 06:54:51 am
-
Here's a shot of it in action. (http://fs2source.warpcore.org/temp/wmc/eventlist.jpg)
Preamble/Configuration
The event list is drawn using the function drawEventList() in the $HUD hook. It has five arguments:
nXPos = X position
nYPos = Y position
nStayTime = Time that the list should wait to fade out, after an event change has occured.
nAutoScrollAfter = Scroll down the list after X events have been completed
nNumToShow = Maximum number of events to show at once.
To inaugurate the scripting forum, I've updated it to work with the new Event[] array and CurrentFont variable. :)
Event List 2.0 (http://fs2source.warpcore.org/temp/wmc/eventlist2.zip) - requires C01142007 or newer.
Original thread (and release) (http://www.hard-light.net/forums/index.php/topic,40753.msg830873.html#msg830873)