Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Fade corpse after 30secs. " HELP NEEDED "

Author
Message
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 28th Sep 2007 19:16
I am trying to make a script that makes the enemies bodys dissapear after 30 seconds.
I have made an attenpt at it but the script dose not work.
Any help will be appreciated.

;Artificial Intelligence Script

;Header

desc = Fade Out Disappear

;Triggers

:state=0:state=1
:state=1,alphafadeequal=100:decalphafade=0
:state=1,alphafadeequal=0:state=2,destroy

;End of Script
Avid
17
Years of Service
User Offline
Joined: 24th Jun 2007
Location:
Posted: 28th Sep 2007 20:55
There's already a corpse fade script, try modifying that.
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 28th Sep 2007 21:01
Thats what i tried to do i combined parts of the fade corpse and leave corspe script.
Im fairly new to scripting so my skills are rubbish.
Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 29th Sep 2007 04:00
The alpha fading doesn't do anything if shaders are off (stupid if you ask me, but that's just my opinion). Turn 'em on and see if it works.


Vote today and play the games!
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 29th Sep 2007 20:54
No that did not work either
0 Geoff 0
17
Years of Service
User Offline
Joined: 3rd Aug 2007
Location:
Posted: 30th Sep 2007 11:48
I have finally got the script to work except now for some reason
you cannot pick up the characters weapon or ammo until they disappear. Suggestions anyone.

;Artificial Intelligence Script

;Header

desc= Fade Corpse After 30Seconds

;Triggers

:state=0:coloff,timerstart,state=1
:state=1,timergreater=30000:destroy

;End Of Script

Login to post a reply

Server time is: 2024-11-23 22:55:35
Your offset time is: 2024-11-23 22:55:35