OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gadjuka on 17 May 2003, 01:01:17

Title: OnMapSingleClick in scripts
Post by: Gadjuka on 17 May 2003, 01:01:17
How do I do to make OnMapSingleClick work in a script?
Say that I want an "action menu" command to activate a script (action menu to be able to pass the caller to the script). Then let the script wait for a map click and then use the _pos from that click.
Title: Re:OnMapSingleClick in scripts
Post by: macguba on 17 May 2003, 08:55:04
Look in the online command reference in the Ed Depot.   There are a couple of examples and a link to a helpful thread.