Hello syko games i made a few scripts for your book.
I hope you can use them well. Oh and goodluck with your book.
___________________________________________________________________
;AI script
;header
desc=freeze player for 5 seconds when step in triggerzone.
;NOTE: after the player is frozen the triggerzone disappears.
;instructions: add this fpi script to the main script zone of a triggerzone.
;triggers
:state=0:state=1
:state=1,plrwithinzone=1:plrfreeze=5000,destroy
;end of script
___________________________________________________________________
___________________________________________________________________
;AI script
;Header
desc= Plr In Zone, activate entity specified in IF USED then it disappears
;instructions:place this script in the main script zone of the zone you selected.
;Triggers
:state=0,plrwithinzone=1:activateifused=1,sound=$0,state=1
:state=1,plrwithinzone=0:state=2
:state=2:destroy
___________________________________________________________________
___________________________________________________________________
;AI script
;Header
desc = Sound loop and appear instantly when player is in zone
;NOTE: this script is only for sound zones
;instructions: place this script in the main script zone of a sound zone
;Triggers
:state=0,plrwithinzone=1:loopsound=$0,setalphafade=100,runfpidefault=1
;End of Script
___________________________________________________________________
___________________________________________________________________
;AI script
; 0-once face player
; 1-once keep angle
; 2-loop face player
; 3-loop keep angle
; 4-once face up
; 5-loop face up
; 6-character-spot-decal (at end of entity characters gun if available)
;Header
desc=trigger decal with triggerzone Runs Decal Loop
;NOTE: you must place this script in the main script zone of a DECAL
;instructions: 1. select your decal and put this script in the main script zone of the decal
;2. select a triggerzone and put the script "plrinzoneactivateused.fpi" in the main script zone of triggerzone
;3. place the name of the decal in the IF USED zone of the triggerzone
;Triggers
:state=0,activated=1:rundecal=2,state=1,loopsound=audiobank\atmos\firehum.wav
;End of Script
___________________________________________________________________
PS: this scripts are all tested and are doing just fine. But if you ever find a bug then please email me.
Norion
MJM