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 / AI (Enemy) Disappearing Act, falls through floor

Author
Message
The 40 Year Old Gamer
17
Years of Service
User Offline
Joined: 13th Aug 2007
Location: San Antonio
Posted: 9th Sep 2007 06:06
I'm having an issue with my AI dropping through the floor after I spawn him using a trigger zone. I struggled for quite some time thinking that the trigger zone wasn't working, but when I ran backward I was able to see the enemy spawn. Unfortunately, he just drops through the floor within a half second. I've screen captured the event here. A little tough to see with the framerate of the capture, but the problem is clear. Enemy is there one second and through the floor the next.

Paste this link in a browser to see it in action:

http://www.screencast.com/users/The40YearOldGamer/folders/Jing/media/584e4b0a-c7a4-4f10-a6af-4bd62696d3fe

Any assistance is appreciated. I have scoured the Forums for answers (truly I have). Your help is appreciated. Using v 1.06

'Yeah...I'm gonna' have to ask you to come in on Saturday. That'd be great.'
The Silent Ayehika
18
Years of Service
User Offline
Joined: 15th Apr 2006
Location: My Home
Posted: 9th Sep 2007 13:48
Try to lift the enemy a bit in the air (The one that has to be spawned),instead of directly on the ground.It usualy works for me ^^.Good luck

....Whatever.....
The 40 Year Old Gamer
17
Years of Service
User Offline
Joined: 13th Aug 2007
Location: San Antonio
Posted: 9th Sep 2007 18:16
Can someone post their plrinzoneactivateifused.fpi script on this thread please? I noticed that I was using plrinzoneactivateused.fpi (no 'if' in script name), the closest I have to the script I think I'm supposed to be using. It seems it should work but every model I try falls through the floor.

;Artificial Intelligence Script

;Header

desc = Plr In Zone, activate entity specified in IF USED

;Triggers

:state=0,plrwithinzone=1:activateifused=1,sound=$0,state=1
:state=1,plrwithinzone=0:state=0

'Yeah...I'm gonna' have to ask you to come in on Saturday. That'd be great.'

Login to post a reply

Server time is: 2024-11-23 23:34:25
Your offset time is: 2024-11-23 23:34:25