Forum Jump :

Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: California
Occupation:
Age:
In-game name:

 
#1 Posted at 2014-02-04 04:52        
     
I searched the forums and couldn't find anything related.

I am making a mission and there is a injured soldier lying on the ground. Is there a way I can have another AI pick him up and carry him like in the fireman carry animations?

Thanks guys

This post was edited by Foxhound (2014-02-04 07:17, ago)


Author Message


Posts: 685
Rank:


Level: Member

Country: nl
Location: Amsterdam
Occupation: IT nerd
Age: 40
In-game name: -=XTRA=-Larsiano

 
#2 Posted at 2014-02-04 09:01        
     
Not sure if this is allready possible but. The option to carry is available in some revive scripts. This should lead you to the name of the animation used. Once you have found the animation (name) you could use this to make a new function?


Advertisement


Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: California
Occupation:
Age:
In-game name:

 
#3 Posted at 2014-02-05 00:13        
     
# -=XTRA=-Larsiano : Not sure if this is allready possible but. The option to carry is available in some revive scripts. This should lead you to the name of the animation used. Once you have found the animation (name) you could use this to make a new function?
Ok I will try it and get back to you, thanks.


Author Message

ogion  



Posts: 115
Rank:


Level: Member

Country: se
Location:
Occupation: Small business owner
Age: 41
In-game name: Ogion [SW]

 
#4 Posted at 2014-02-15 08:46        
     
The action you're looking for is available in the BIS Battlefield clearance module so it should be fairly simple to locate...

Modules instruction


Use this script.

// Call script in player init:
// o = [this] execVM "act.sqf"

While {alive player} do 
{
_a = animationstate (_this select 0);
hint format ["%1",_a];
sleep 2;
};

"Do, or do not. There is no try!" - Yoda
http://www.silentwarriors.org.uk/

Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: California
Occupation:
Age:
In-game name:

 
#5 Posted at 2015-03-01 18:31        
     
Thanks guys! Both ways work and its awesome! Thanks for the help!