add3DENEventHandler

From Bohemia Interactive Community
Revision as of 15:56, 30 September 2015 by Str (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.52|1.52]]
Hover & click on the images for description

Description

Description:
Add code to be run when a 3DEN Editor event is triggered.
Eventhandlers can be found in: configFile >> "Cfg3DEN" >> "EventHandlers" >> "BIS"
Groups:
Uncategorised

Syntax

Syntax:
add3DENEventHandler [type,code]
Parameters:
type: String
code: Code
Return Value:
Number

Examples

Example 1:
eh = add3DENEventHandler ["onUndo",{systemChat "Zip..."}];

Additional Information

See also:
get3DENMouseOver add3DENConnection all3DENEntities collect3DENHistory create3DENComposition create3DENEntity current3DENOperation delete3DENEntities do3DENAction get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLinesVisible get3DENSelected is3DEN is3DENMultiplayer move3DENCamera remove3DENConnection remove3DENEventHandler removeAll3DENEventHandlers set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLinesVisible set3DENObjectType

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

[[Category:Introduced with arma3dev version 1.52]][[ Category: arma3dev: New Scripting Commands | ADD3DENEVENTHANDLER]][[ Category: arma3dev: Scripting Commands | ADD3DENEVENTHANDLER]]

Notes


Bottom Section