@Krowsnest
I am rethinking the skybox. I am leaning towards finding something else. I have tried several already and will go back to them again.
OK here is the 3rd part (4.4 MB - seems to keep getting bigger) for level 2. Press the download button. Again to keep it as short as possible I went directly to the owners of this treasure.
I used
plrdrop for this rather than having the player actually carry the treasure chest. Would have been awkward. Here is the script I used. It is assigned to the main of the treasure chest. You need to make sure that the parameter "Always Active" is set to "YES". This is in the Physics category of the item's parameters.
Here is also a picture of the dropped treasure chest. Before Lee got the
plrdrop command working you had to do a work-a-round for this. Of course there are many uses for
plrdrop.
Here is the treasure chests main script:
;Artificial Intelligence Script
;Header
desc = pickup treasure chest
;Triggers
:state=0,plrdistwithin=100:activate=2
:state=0,activated=2:state=1,setframe=0,sound=audiobank\user\tchest.Ogg
:state=1:incframe=0
:state=1,frameatend=0:state=3
:state=3:state=4,globalvar=2
:state=4:sound=audiobank\tank\level02_grandpa1b.ogg,state=5,timerstart
:state=5,timergreater=8331:setvar=1,playertake,coloff,state=6
:state=6,activated=3:state=7
:state=7,scancodekeypressed=19:playerdrop
:state=8,plrdistfurther=500:activateifused=1,timerstart,state=9
:state=9,timergreater=250:destroy
;End of Script
The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC