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 / script link

Author
Message
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 30th Mar 2011 20:43
Can anyone help me link these two scripts:

:state=0:setframe=97,state=11
:state=11:incframe=97
:state=11,frameatend=97:state=1
:state=1,alphafadeequal=100:decalphafade=0
:state=1,alphafadeequal=0:state=30,destroy
:state=30:settargetname=cs1,state=31
:state=31:plrsound=$0,globalvar=1,incvar=100,activatetarget=13,state=32
:state=32:state=33,destroy


AND:



:state=0,varequal=interact 2:setvar=CONVO 3,hudunshow=npc1_name,setvar=clearconvo 1,setvar=convoselect 0,setvar=cindex 0,setvar=cinput 0,setvar=plrbusy 0,setvar=interact 4,setvar=plrcam 0,state=1
:state=0,varnotequal=interact 2:state=1
:state=1,varequal=FT 0:state=2
:state=1,varequal=FT 1:subvar=FT1 1,state=2
:state=1,varequal=FT 2:subvar=FT2 1,state=2
:state=1,varequal=FT 3:subvar=FT3 1,state=2
:state=1,varequal=FT 4:subvar=FT4 1,state=2
:state=2:state=3,suspend,coloff,ragdoll


THANKS
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 30th Mar 2011 23:29
You can run another fpi from an fpi. The command is "runfpi=x" where x is the name of the script you wish to run. The last I knew the script must be in scriptbank and cannot be in a sub-folder.

For example; say you named the second script "myragdoll."

State #32 in the first script might read:

:state=32:runfpi=myragdoll

It may not do what you are hoping it do do and there may need to be some more tweaking.


Terry
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 31st Mar 2011 00:00
thanks for your post but i can not understand what you're trying to say me.Excuse me.Thanks!(I wanted someone link these two scripts and post it here)
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 31st Mar 2011 01:55
Link means like in a chain and that was what I was explaining. But if you mean combine that means something different.

So, do you mean combine the two scripts and make them one script?


Terry
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 31st Mar 2011 16:40
yes,yes!Sorry.
I am from greece i don't know english so well.
Excuse me.

Can you help me with this combination then?
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 31st Mar 2011 18:46
no problem. Now we know what we need to do. Proper English is not required but sometimes we need to have some things clarified. If you understand what I just said.

I hope you're not in a hurry. I'm working on another bug fix for v118.

Maybe somebody will see this and can help.


Terry
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 31st Mar 2011 19:01
Alright,thanks.I hope you fix this bug.I am working on a zombie mod game.I've already made a huge map with the help of kravenwolf.I will give it to you i will have finished it.Can i have your bug fix when its ready because i have v1.18 too.What bug is about?
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 1st Apr 2011 05:01
As I look at the two scripts, I'm not sure what you want where. I other words, when you want certain things to happen. Events are all controlled by how the script is written. The flow is basically controlled by the states. If you want this to happen then you go to that state. If you want that to happen then you go to this state.

These scripts are not understandable at all in order to combine them. I'm sorry. For anybody to combine them, we will need a lot more information and I'm not sure what even to tell what information we need.

Where did you get these scripts to begin with?


Terry
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 1st Apr 2011 14:39
Well i have already combined the cash system destroy script with the zombie1destroyand the help of another member of TGC.This is the first script.


The second script is from model pack 53 called TF341_Destroy_Ragdoll_Corpse

Thanks for your insistance and try.
Dead Line the world of zombies
13
Years of Service
User Offline
Joined: 19th Jan 2011
Location:
Posted: 1st Apr 2011 14:41
To make you understand i try to make a script for the zombie mod i'm working on which will kill the zombie increase my cash +100 and leave its corpse

Login to post a reply

Server time is: 2024-11-24 12:02:13
Your offset time is: 2024-11-24 12:02:13