Author: Spyder
Author Website:

Requirements: No addons required

Version: 1.0

Short description: This function can now be used, for example, in R3F. You can carry an object up stairs and place it on the floor you are on.

Date: 2011-04-16 22:04


Comments: (0)
Rating:



 



JDAM highestSurface

by
Goschie & Spyder


Description:
A while back for our mission JDAM (Joint Dynamic Assault Mission) Goschie create a function that detects the highest surface at a given point. However, it was lacking a max height parameter. So I modifed the script to accept max height. This function can now be used, for example, in R3F. You can carry an object up stairs and place it on the floor you are on.


Features:
+ Place object or/in buildings, carriers, etc


Installation / Usage:
1. This is a function, not a script. You can still add it to an objects init however and it'll work. First compile the function
JDAM_highestSurface = compile PreProcessFile "JDAM_highestSurface.sqf";
2. Now you can put it in your script, object init, etc.
this setPosATL ([this, this] call GlobalScripts_HighestSurface);
3. The parameters [this, this] are [location, max height]. Location and max height can be both objects or numbers (999 is used for no max height).

Use with R3F:
Modify the R3F Logistics script "R3F_ARTY_AND_LOG\R3F_LOG\objet_deplacable\deplacer.sqf"
http://www.armaholic.com/editing/scripts/deplacer.7z


Credits:
Goschie
Spyder



Forums Topic:
- Armaholic forums




Enable javascript to be able to download from Armaholic please!



Tags: No tags