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 / First script, getting error (help please)

Author
Message
TruFord
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: At my computer
Posted: 28th Mar 2009 01:24
Ok, I am trying to get this script to spawn a second guy when he dies. Only this guy is going to have different stats. Like an orc horde that keeps getting stronger.

this is the code:

;Artificial Intelligence Script

;Header

desc = horde upgrade

;Triggers

:state=0:state=1
:state=1,activated=0:activatetarget=zombie2,animate=0


;End of Script

When I put it as my figure main AI script I get an error saying it was out a reach. What do I do?? I have it in my user folder right now.

Thanks for the help.
TruFord
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: At my computer
Posted: 28th Mar 2009 01:54
ok, I fixed the error message. I took it out of my user folder. I also have changed activated to health=0. So when the figure dies it should spawn the next wave of figures......but its not.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 28th Mar 2009 07:45
"activatetarget" does not accept an entity name. You'll need to do it like this:

settargetname=zombie2,activatetarget=1


The one and only,


TruFord
15
Years of Service
User Offline
Joined: 24th Mar 2009
Location: At my computer
Posted: 28th Mar 2009 14:34
still doesnt work......I think I am just going to use the code that after you kill so many people it opens a door. Only I am going to set it to spawn wave2.

Thanks for your help.

Login to post a reply

Server time is: 2024-11-24 22:46:06
Your offset time is: 2024-11-24 22:46:06