Jump to content
Sign in to follow this  
ltluis

How to make an unconscious AI like ACE Module in ZEUS?

Recommended Posts

Hi All

I have a problem. I cant Spawn a AI unconscious like ACE Module in ZEUS. In Zeus I can see this option (See the picture)

http://i.imgur.com/HnTAad0.jpg (155 kB)

This module in Zeus change the side to Civilian and make the unit unconscious . But i cant do it in the editor or find the module in It. To star the mission in MP with AI unconscious

I really need your help

Thanks All

Share this post


Link to post
Share on other sites

this setCaptive true;

this playMoveNow "AinjPpneMstpSnonWrflDnon";

this disableAI "MOVE";

this disableAI "ANIM";

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks DaVIdoSS but it not Work with ACE is a good simulation but i cant interactive with ACE like unconscious unit

Share this post


Link to post
Share on other sites

ahh you want to set unconscious with ACE?

this setDammage 0.7;
this setvariable ["ACE_isUnconscious", true, true];
this setUnconscious true;

Edited by DaVIdoSS
  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks I really appreciate it but does not work in MP in dedicated server

Thanks Again

Share this post


Link to post
Share on other sites

Well something has changed. Go around:

nul = [this, true] execVM "\z\ace\addons\medical\functions\fnc_setUnconscious.sqf";
this setDammage 0.6;

  • Thanks 1

Share this post


Link to post
Share on other sites

[<unit>, <unconscious>, <time>] call ace_medical_fnc_setUnconscious;

Examples:

[player, true] call ace_medical_fnc_setUnconscious;

[player, true, 120] call ace_medical_fnc_setUnconscious;

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks DaVIdoSS and SilentSpike Now Work :) Thanks for the Help

Share this post


Link to post
Share on other sites
ahh you want to set unconscious with ACE?

this setDammage 0.7;
this setvariable ["ACE_isUnconscious", true, true];
this setUnconscious true;

This doesn't seem to work for me. It injuries the AI, but it doesn't render it unconscious. Am I doing this wrong? I just place the above in tha AI's inuit field, correct?

Actually, I did it again and this interesting.....They spawn standing and looking around as if they're conscious, but I have the option to drag/carry. When I do drag they can be dragged as unconscious. When I release then they stay unconscious and prone

Edited by piggypotpie

Share this post


Link to post
Share on other sites

The above is not working. Here is the right code:

[<unit>, <unconscious>, <time>] call ace_medical_fnc_setUnconscious;

Examples:

[player, true] call ace_medical_fnc_setUnconscious;

[player, true, 120] call ace_medical_fnc_setUnconscious;

  • Thanks 1

Share this post


Link to post
Share on other sites

this setCaptive true;

this playMoveNow "AinjPpneMstpSnonWrflDnon";

this disableAI "MOVE";

this disableAI "ANIM";

You know this was working. Did something change recently?

 

dubl

Share this post


Link to post
Share on other sites

Hi,

 

1. Is there any way to chcek if unit is unconscious?  I need something like:

 

if (isUnconscious someunit) do {something};

 

2. Is there any way to simulate wounds without shooting at unit manually? I've tried with setHitPointDamage and other commands, but looks like it's not possible.

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  

×