:state=0:hideentity,state=1
:state=1:etimerstart,state=2
:state=2,etimergreater=5000:showentity,
state=0
I think the emboldened area reveals the problem

. As soon as the entity is being shown, it is hidden again by going back to state 0. The script below should work:
:state=0:hideentity,state=1
:state=1:etimerstart,state=2
:state=2,etimergreater=5000:showentity,state=3
:state=3:state=3
For your second question, yes that is also possible. Put this script into a trigger zone.
:state=0:etimerstart,state=1
:state=1,etimergreater=5000:activateifused=1,state=2
:state=2:state=2
;End of Script
Set the IfUsed parameter in the trigger zone to the name of the entity which you want to be spawned.
Hope this helps.
Migration Discussion Thread: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Piracy Discussion Thread:
http://forum.thegamecreators.com/?m=forum_view&t=142774&b=21