Author: johnnyboy
Author Website:

Requirements: No addons required

Version: 1.00

Short description: adds stationary animalsto your Arma 3 missions.

Date: 2019-12-20 10:33


Comments: (0)
Rating:



 





JBOY Stationary Animal

by
johnnyboy


Description:
Haleks gave me the idea when he shared his fast rabbit trick: He attached a rabbit to an invisible man, and the man actually runs, not the rabbit, but it works great (fast running rabbits!). Thanks Haleks! An invisible man would have worked for this also, but for stationary animals, it seemed leaner to use a game logic.


Installation / Usage:
For usage instructions and information of how to use the JBOY Stationary Animal please refer to the included documentation and/or example mission.

Here's the code to paste into an animals init field in the editor:
this enableSimulation false; 
JBOY_Stationary_Animal = 
{ 
 params["_animal"]; 
 _logicCenter = createCenter sideLogic; 
 _logicGroup = createGroup _logicCenter; 
 _myLogicObject = _logicGroup createUnit ["Logic", [0,0,0], [], 0, "NONE"]; 
 _myLogicObject setpos (getpos _animal ); 
 _myLogicObject setdir getdir _animal; 
 _animal attachTo [_myLogicObject,[0,0,-.1]]; 
 _animal enableSimulation true; 
 _animal setVariable ["BIS_fnc_animalBehaviour_disable", true]; 
}; 
[this] call JBOY_Stationary_Animal;


Media:



Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Changelog:
1.00


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!