Beno asked me to do something like this, i hope its what you need, buddy.
Based on Conjured Entertainment´s great CASH SYSTEM http://forum.thegamecreators.com/?m=forum_view&t=130281&b=24
To use the system just...
1) unZip (or copy/paste) the files into your FPSC Files directory with the same folder structure found in the Zip.
2) Place the painting-entity somewhere in the map, and then place some items around as well, using "files/scriptbank/maho/itemcollector/pickupitem.fpi" as mainscript. Set items as objectives to force player to collect them all to finish the level.
3) Open files/scriptbank/maho/itemcollector/itemcoll0.fpi and edit the line
:state=1,varequal=itemcollect 7:hudshow=itemfull,hudfadeout=itemfull,state=2
Set "varequal=itemcollect 7" to the number of placed items (so to get the sample work without edit, you have to place 7 items).
Thats all. Success-Hud when all items are collected. Have Fun and do a Sonic-Game with many goldnuggets
All needed files attached.
Thanks to Conjured again.
gz
maho