Sorry for being non-understandable.
I had created a simple dialog-based command & control system that has a "move" command in it (besides other commands). What I am trying to do is that when I press "move" button it opens up the map so player can order other friendly group to move around (move script is based of "OnMapSingleClick" command) using alt-shift-single-click (that is not the problem, though I scripted it). I am having problems in opening the map up. I tried
forceMap command, but all you can do is shoot your gun while seeing non-interactive map. So my question is, is there any command that opens the map up.
Also, another, you've guessed it, scripting question. How to close a script that has "OnMapSingleClick" command in it? I've tried with global variables, but it did not work.
_clickclicked = 0
closeDialog 1
#check
onMapSingleClick {redwolf move _pos; leader redwolf sidechat "Roger. Moving out!"; _clickclicked = _clickclicked + 1}
?(_clickclicked == 1) : goto "exitpart"
goto "check"
#exitpart
exit
I do not want player to be able to issue move orders to the group forever while only clicking "move" in dialog once.
Any suggestions?
Thanks,
Krieg