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 / trouble with script

Author
Message
Spartan
15
Years of Service
User Offline
Joined: 7th Feb 2009
Location: Behind You...
Posted: 19th Feb 2009 01:34
ok i found this script here

;Artificial Intelligence Script
; by Jordan Siddall

;Header

desc = Sitting

;Triggers

:state=0:animate=10,state=1
:state=1:setframe=7
;End of Script

it is not mine. How do i use it. Like how do i save it as an fpi file to load in my game. Please help me. Im new so i dont know much. If someone has the plrinzoneactivateifused.fpi script can you show me how to make it thank you!!!!!!!!!!

Spartans! Prepare For GLORY!
Apple Slicer
16
Years of Service
User Offline
Joined: 14th Nov 2008
Location: Oregon, in the rain...
Posted: 19th Feb 2009 02:34
That looks like its for a decal...Do you even know what this script for? Where is it from, and also, plrinzoneactivateifused.fpi is for activating stuff like boxes and enemies ect.

Till Thy Migration Come...
>>>Can anyone guess how I came up with my username???<<<
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 19th Feb 2009 03:13
Its not for a decal. It's for a character it sets the frame to 7 because for the stock characters frame 7 looks like they are sitting.

]

X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 20th Feb 2009 15:30
set a trigger zone in the level, right click on it, replace its ai main with plrinzoneactivateifused.fpi and when the player steps in the zone it will activate the entity named in the trigger zones if used field in its properties

its used for activating things when the player enters a triggerzone

and that script is to animate a character sitting, it says it in the desc= altho animate=10 is the climb animation by default, what do you want a script to do?

- Why is everyone on here so rude? -
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 20th Feb 2009 22:16
yes its climbing but frame 7 on animation 10 looks as if he is sitting. There for by putting the character on a chair with this script it would look like he was sitting on the chair.

]

Spartan
15
Years of Service
User Offline
Joined: 7th Feb 2009
Location: Behind You...
Posted: 21st Feb 2009 00:32
ok but no one answered my question. How do i save it as an .fpi file? and i dont have plrinzoneactivateifused.fpi. i only have plrinzoneactivateused.fpi, how do i get plrinzoneactivateifused.fpi?

Spartans! Prepare For GLORY!
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 21st Feb 2009 00:49
make a text file and then put the code in the text file and then rename the text file's ending(.txt) to .fpi

]

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 21st Feb 2009 17:47 Edited at: 21st Feb 2009 17:48
Quote: "

"SETFRAME=X
set animation X start frame" ...The Official Community Guide to FPSC

"


The stock characters don't even have an animation 10 defined in their fpe file.

The setframe=7 is actually starting you at the first frame of animation 7, not the 7th frame of animation 10.
You would need to use a setframe=10 and then 6 incframes to reach the 7th frame of animation 10.

Login to post a reply

Server time is: 2024-11-24 21:04:08
Your offset time is: 2024-11-24 21:04:08