Wraith Staff,
Place a switch and in it's
IfUsed field put the name of the air shaft. Assign the following code to the grate and the switch will turn on the air blast.
;Artificial Intelligence Script
;Header
desc = Rise on air blast
;Triggers
:state=0,activated=1:state=6,coloff,setalphafade=0
:state=1,raycastup=20 40:state=5,unassociateplayer
:state=1,timergreater=500:state=5,unassociateplayer
:state=1:associateplayer,moveup=6
:state=5,raycastup=0 -20:state=6
:state=5:moveup=-6
:state=6,plrdistwithin=50:state=1,associateplayer,timerstart
:state=6,plrdistfurther=100:unassociateplayer,state=0
;End of Script
I ran into some issues with the air shaft (grate) disappearing after use and haven't figure that out yet.
Brian.