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 / Spawn entity by opening door

Author
Message
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 15th Jan 2008 01:57
Is it possible (without using a zone) to have an entity appear (spawn) when a door is opened?

Was going to take a break... But I missed FPSC!
Darkfoil
19
Years of Service
User Offline
Joined: 7th Jan 2006
Location: Montanchez (Spain)
Posted: 15th Jan 2008 05:06
OK firstly the entity. Once you have placed it in your map change the following settings.

1. NAME: give it a unique name (eg. Entity1)
2. Spawn At Start: NO
3. Max At Any Time: 1
4. Maximum Spawn: 1
5. Number to Spawn: 1

Now for the door. Once you have placed it in your map change the following settings.

1. MAIN: Use the attached script
2. If Used: Enter the name you gave to the entity you want to spawn (eg. Entity1)

Now when you open the door the entity will be spawned.

Darkfoil.

Attachments

Login to view attachments
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 15th Jan 2008 14:01
Thanks Darkfoil, worked a treat!

Was going to take a break... But I missed FPSC!
Trust
17
Years of Service
User Offline
Joined: 28th Jan 2008
Location: Milano
Posted: 28th Jan 2008 17:03
In this is mode the CPU usage is SLOW?

The Game Jurnalist

Login to post a reply

Server time is: 2025-05-21 17:58:53
Your offset time is: 2025-05-21 17:58:53