BIS_fnc_replaceWithSimpleObject

From Bohemia Interactive Community
Revision as of 19:42, 3 April 2006 by BIS fnc exportFunctionsToWiki (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*
	Author: Jiri Wainar

	Description:
	Replaces object with simple object. Object must not contain any crew and must be placed on ground.

	Remarks:
	* Useful if you do not have access to simple object adjustment data - e.g. in case of unsupported/discontinued asset.
	* All official assets have the adjustment data defined in config.
	* Use with caution as this technique is not very clean - should not be used for many objects and definatelly not in MP games.

	Parameter(s):
	0: OBJECT - object that will be replaced by simple object
	1: BOOL - force super-simple object (default: false); true: super-simple object will be force, no type info or re-texturing is available, false: super-simple object is used unless re-texturing is possible

	Returns:
	OBJECT - simple object that replaced the simulated object

	Example:
	[_object:object] call BIS_fnc_replaceWithSimpleObject;

	See also:
	* bis_fnc_createSimpleObject
	* bis_fnc_replaceWithSimpleObject
	* bis_fnc_simpleObjectData
	* bis_fnc_exportCfgVehiclesSimpleObjectData
	* bis_fnc_diagMacrosSimpleObjectData
*/

(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section