Jump to content
Sign in to follow this  
AdirB

disableAI on players

Recommended Posts

Hello,

I got dancing animations working for AI with adding disableAI "ANIM" to the init of the unit.

Obviously, it doesn't work on players. So I need a replacement for disableAI.

Is there anything like?

 

Thanks! :)

Share this post


Link to post
Share on other sites

disableBrain

Be very careful with that command. Running it locally could be fatal. :Oo:

 

 

ps.: Not the answer is wrong, the question is. :rolleyes:

Share this post


Link to post
Share on other sites

disableBrain

Be very careful with that command. Running it locally could be fatal. :Oo:

 

 

ps.: Not the answer is wrong, the question is. :rolleyes:

I understand that sarcasm is your thing but if you have nothing helpful to say, then just don't.

 

What's exactly wrong with the question?

If I don't disableAI the animation I'm trying to run won't work.

disableAI works only on AIs so I need something to disable the animation of the player unit, to make my animation work.

Share this post


Link to post
Share on other sites

Could you share what you're using to help us to help you? Cannot recall any dancing animations

Share this post


Link to post
Share on other sites

I understand that sarcasm is your thing but if you have nothing helpful to say, then just don't.

 

What's exactly wrong with the question?

If I don't disableAI the animation I'm trying to run won't work.

disableAI works only on AIs so I need something to disable the animation of the player unit, to make my animation work.

You probably should take a closer look at Tajins signature.

Also what sarcasm?

:yay:

Cheers

  • Like 1

Share this post


Link to post
Share on other sites

There's disableUserInput but it's problematic. Other than that I don't know.

 

Also, a bit off topic, is there a way to actually enable AI on player's unit like in the intro?

Share this post


Link to post
Share on other sites

I'm trying to make the dancing animation from this mod (http://www.armaholic.com/page.php?id=29043) to work.

At start they didn't work, when trying to run the animation all the unit did is pulling out his weapon. So someone told me that if I run disableAI "ANIM" in the unit it will work, and so it is.

 

But I can't run disableAI for players since they are players and not AI, so I can't stop the weapon animation of a unit controlled by a player.

Share this post


Link to post
Share on other sites

I'm trying to make the dancing animation from this mod (http://www.armaholic.com/page.php?id=29043) to work.

At start they didn't work, when trying to run the animation all the unit did is pulling out his weapon. So someone told me that if I run disableAI "ANIM" in the unit it will work, and so it is.

 

But I can't run disableAI for players since they are players and not AI, so I can't stop the weapon animation of a unit controlled by a player.

 

disableAI won't do anything on the player.

But I guess you know that already.

So disableAI probably isn't your problem then.

I'm pretty sure if you post the actual snippet on how you're trying to get the animation to work, the thread will move towards a possible solution.

 

Cheers

Share this post


Link to post
Share on other sites

disableAI won't do anything on the player.

But I guess you know that already.

So disableAI probably isn't your problem then.

I'm pretty sure if you post the actual snippet on how you're trying to get the animation to work, the thread will move towards a possible solution.

 

Cheers

dance.sqf

player switchMove "ActsPercMstpSnonWnonDnon_DancingStefan"

init.sqf

player addAction ["Dance", "dance.sqf"];

If I try it this way, the player will not do the animation.

Share this post


Link to post
Share on other sites

Downloaded the mod by IndeedPete and indeed, it doesn't work.

Animations in arma can be a bit tricky, you can have a weapon on back animation for players which won't work for AI, then there's animations like the dance where it's the other way around.

 

Your best bet would be to contact IndeedPete and see if he can make the animation work (maybe there's some transitions missing or whatever).

 

Cheers

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  

×