Few new bits for 0.64.2
Posted: Sun Feb 24, 2013 2:33 am
- Number of background models has been increased from 16 to 76.
- Added a new system for adding 'local background models' - bg models that appear only for the person specified. Script functions are :
- Added a new set of OSD types that allow you to script notification popups (like the high score table)
e.g.
OSDNOTIFICATION1 to OSDNOTIFICATION6 are valid.
- Added a new system for adding 'local background models' - bg models that appear only for the person specified. Script functions are :
Code: Select all
$lbmID = sysAddLocalBackgroundModel( [PlayerID], [ModelNum], [X], [Y], [ROT], [FLAGS] )
sysDeleteLocalBackgroundModel( [PlayerID], [LBM_ID] )
sysDeleteAllLocalBackgroundModels( [PlayerID] )
e.g.
Code: Select all
osdcreate(OSDNOTIFICATION1, "TestOSD", "Hello" )
osdaddat(OSDTEXT, 0, 0, 250,70, "", "This is a scripted notification block")
osdaddat(OSDEXITBUTTON, 50,90, 150,22, "", "Read More")
osdactivate()