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 Actions Through Trigger Zones

Author
Message
Eggie
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location:
Posted: 20th Nov 2011 20:34
Hi, is there a command for changing a character's action through trigger zones? I want a character's AI to be fully scripted, ie: he follows a waypoint and ducks. Then when you reach the trigger zone he stands up and then starts shooting. I really just need to know how to specify an action to a character in a trigger zone script. And if this is not possible are there any free mods out there that can accomplish this?
2Beastmode4u
13
Years of Service
User Offline
Joined: 14th Feb 2011
Location: Loading...
Posted: 20th Nov 2011 20:36
This is possible through regular FPSC scripting. Just use some movefore commands and a force crouch command you'll be set, or click my signature and have it scripted for you...

God help me, Please.
Eggie
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location:
Posted: 20th Nov 2011 20:41
I'd like to learn to script on my own, but thanks for the offer. But as for the actions, how can I specify it to a certain character.
Eggie
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location:
Posted: 22nd Nov 2011 02:55
I'm assuming this is not possible. If so, then how can I delete an entity when I enter a trigger zone.
Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 22nd Nov 2011 03:36
Quote: "I'm assuming this is not possible. If so, then how can I delete an entity when I enter a trigger zone."


if there's anything you can learn in life, it's that anything is possible.

To delete an entity, set the tiggerzones ifused to the entities name, and make the entity use the 'destroy' action in its script when activated.

maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 22nd Nov 2011 09:41
if you have not that much experience in scripting, its a good thing to get some scripts from beasts&cheds script service. use them as samples to improve your scripting skills and get ideas how things get done. its all about grammar
Eggie
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location:
Posted: 23rd Nov 2011 00:58
@lewis
How can i make its destroy script tell if the triggerzone is activated though? I know how to spawn them but not destroy them.

Login to post a reply

Server time is: 2024-11-24 03:41:42
Your offset time is: 2024-11-24 03:41:42