Jump to content
Sign in to follow this  
RazorX

native and scripted FSMs. Override?

Recommended Posts

I'm new to FSM scripting and I couldn't find a very detailed tutorial, however I know the basics, the syntax and more or less how it works.

I have a scripted FSM which I want to execute on a civilian unit.

My problem is:

I want my scripted FSM to take control of the desired unit and I don't want any native FSMs to control it. Is there a way to disable or override the native FSMs? In other words, I want the AI to be overriden by my script.

Edited by RazorX

Share this post


Link to post
Share on other sites

No :(

The only way to do this is to modify the unit configs, i.e., create an addon.

Share this post


Link to post
Share on other sites

That's what I was afraid of. Just a bunch of more work to do...

Share this post


Link to post
Share on other sites

Now could you be more specific which type of the action you want to override?

Here is fantastic example made by Xeno.

There is also gorgeous tutorial An Introduction to Finite State Machines in Armed Assault by Rune of the Sinews of War mod

If the link doesn't work you can find it on http://www.ofpec.com/ by searching for [ArmA] FSM Tutorial by Rune. You can always PM to send you.

Now be more specific with questions, describe your problem a little bit more, so we can find some solution together.

Best regards,

ArmAIIholic

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×