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 / character drop a key

Author
Message
Mr noob
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 7th Aug 2006 03:07
hey, i want to make it so that when a enemy walks out of the room he drops a key which unlocks a door, is this possible
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 7th Aug 2006 09:43
Can you spawn keys? (asking question)

technically you could either use the enemy as a key [wouldn't look very good] or edit the enemy fpe and add

ifused=keyCool

and rename the key to keyCool

then have the init of the key as

:state=0,activated=1:spawnon,state=1

and the destroy of the enemy as

::activateifused=1,destroy

Your Mod was deleted by the Government.
Mr noob
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 7th Aug 2006 12:04
thanks a mil, put how do i edit the enemys fpe
Mr noob
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 7th Aug 2006 17:57
ok, i tried it but i think something went wrong because when i did it the key appeared at the start and the guard couldn,t open the door.

i was think if there is a way that i can set it that the key spawns when the guard opens the door, and then when thats done the door changes to a dor that needs a key, is that possible, because at the moment the scripting doesn't seem to change the outcome at all, it is like it doenst happen
lozza
18
Years of Service
User Offline
Joined: 9th Mar 2006
Location: Somewhere over the rainbow
Posted: 14th Aug 2006 16:40
Can someone post the script, I have no idea where to insert ifused...
Thanks!
Mr noob
18
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 8th Sep 2006 18:42
Sorry, i amn't so good with scripting

Login to post a reply

Server time is: 2024-11-23 00:11:54
Your offset time is: 2024-11-23 00:11:54