Jump to content
Sign in to follow this  
goldblaze

zeus editing area follow player

Recommended Posts

Hello, I'm trying to make the zeus editable area follow the player, so he can only edit 100m around his unit, wondering if this is possible, and if so, how?

Share this post


Link to post
Share on other sites

Found a possible fix, but it's clunky and I'm not sure the best way to use it, https://community.bistudio.com/wiki/addCuratorEditingArea https://community.bistudio.com/wiki/removeCuratorEditingArea these will need to be used in some kind of balenced tandem to make the edting area follow a player, that's the only way I can find so far.

Share this post


Link to post
Share on other sites

this addCuratorEditingArea [1,getpos BlueforCommander,200]; sleep 0.5; this removeCuratorEditingArea 1;

this i what I have so far, need to fix the bug, and then add a loop, currently this script will be sitting in the zeus module.

Share this post


Link to post
Share on other sites

[color="#FF8040"][color="#1874CD"]_curatorModule[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#000000"]_this[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]0[/color][color="#8B3E2F"][b];[/b][/color]
[color="#1874CD"]_unitToTrack[/color]   [color="#8B3E2F"][b]=[/b][/color] [color="#000000"]_this[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b];[/b][/color]
[color="#191970"][b]while[/b][/color] [color="#8B3E2F"][b]{[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]}[/b][/color] [color="#191970"][b]do[/b][/color] 
[color="#8B3E2F"][b]{[/b][/color]
[color="#1874CD"]_curatorModule[/color] [color="#191970"][b]addCuratorEditingArea[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]position[/b][/color] [color="#1874CD"]_unitToTrack[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]100[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color]
[color="#191970"][b]sleep[/b][/color] [color="#FF0000"]1[/color][color="#8B3E2F"][b];[/b][/color]
[color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b];[/b][/color][/color]

Made with KK's SQF to BBCode Converter

Put this line intro you init of the Zeus module:

_null = [this,UNITNAME] execVM "scriptsName.sqf";

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
Sign in to follow this  

×