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 Automated section for character entities

Author
Message
steveo81
16
Years of Service
User Offline
Joined: 10th Sep 2008
Location:
Posted: 10th Sep 2008 21:37
I'm trying to have a key spawn when an enemy is defeated. I'm using "destroyandactivate.fpi" as the Destroy AI Script for my enemy entity, but there is no AI Automated section where I can tell the program what entity (key) to activate when the enemy is destroyed. Is there a way to add the AI Automated section to the enemy entity's properties? Or is there a better/easier way to have a key spawn when the enemy is defeated?
zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 11th Sep 2008 03:44
There should be an If Used box, this is where you put the name of the key
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Sep 2008 08:16
I wish.


Here's what you do:

- Open the "destroyandactivate.fpi" file in Notepad
- Just before the command "activateifused", put this command in "settargetname=X" and replace X with the name of your key.
- Replace "activateifused" command with "activatetarget"... leave the value the same, though.
- Save this as a different name than "destroyandactivate" so you don't lose the original file.
- Give this script to your enemy and it should work.



The one and only,


Those who live in the past, are destined to insanity. Those who live only for the future, will be slaves to their ambitions.
Those who live in the moment... only they, are truly happy.

Login to post a reply

Server time is: 2024-11-24 14:11:24
Your offset time is: 2024-11-24 14:11:24