Jump to content

Recommended Posts

Hi, I need help with curator add editing area module. What I want is to be able to change editing area during mission via radio trigger or attachTo to some object (or some other way I don't know about 🙂). I tried to attach it to the arsenal object but it doesn't change position with it, it just stay where it was placed in the editor. 
I also tried to delete the module and spawn it to the new position via radio trigger. "myCurator" is the variable name of Game Master module. 
 

myCurator removeCuratorEditingArea 1;
myCurator addCuratorEditingArea [ 1, (position player), 40 ];

It doesn't work. Any help is appreciated.  
 

Share this post


Link to post
Share on other sites

I also tried to change position of the module like an object, but no success. Module variable name is "editingArea", radio trigger.
 

_pos = screenToWorld [0.5,0.5];
editinArea setPos _pos;

Are modules objects, markers or something else?

Share this post


Link to post
Share on other sites

I just tried to spawn curator editing area via trigger with

call BIS_fnc_moduleCuratorAddEditingArea

and unfortunately didn't work too. 😟

Share this post


Link to post
Share on other sites

Problem with curator or area number:

To test it:

private _curator0 = allCurators #0;
private _areaNbr = (curatorEditingArea _curator0 #0)#0;
_curator0 removeCuratorEditingArea _areaNbr;
_curator0 addCuratorEditingArea [ _areaNbr, (position player), 40 ];

works in game. So check your data.

  • Thanks 1

Share this post


Link to post
Share on other sites

Works perfectly, thank you so much. 👍
Do you know a good way to limit the Zeus camera around player when he change position?
I think I overuse the radio trigger. 😆  

Share this post


Link to post
Share on other sites

In case somebody search for this I managed to lock Zeus camera so players cannot use it to spot enemy positions. Use it to build things around player "RTS style". 
 

//make curCamera.sqf and inside
while {true} do {
curatorCamera setPos [position player select 0,position player select 1,30];
curatorCamera setVectorDirAndUp [[0,0,-1], [0,1,0]];
};
//fire it with this in initServer.sqf
[]execVM "curCamera.sqf";

Not sure if this is the correct way but it works. 😀

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×