Jump to content
Sign in to follow this  
anusmangler

Hard questions, experienced editors please!

Recommended Posts

A few Questions! please keep in mind Im trying to make a 2-8 person campaign when suggesting solutions. thanks

1. Is there a way (using the strategic map) selecting a mission then having a TASK related to the mission you picked show up in your journal. I would just give a point for the units to walk to through a trigger but in the create tasks mod doesn't have a option for "objects in synchronized triggers" I thing theres a way to use a trigger for something called "simple tasks" but i forgot how if even possible.

1a. If there is a way to do that, I would also know if there's a way to do that so after the mission/task is complete they are deleted from the strategic map and journal like in the campaign.

2. If there is no way of do that.....Is there a way to spawn into another units "body"....with you load out you selected in a "Hub" style base (very similar to the campaign) (maybe something with the weapon pool, but idk im not at experienced as most people here)

3.Global time, is there a way to add a action to a tent so that the squad "rests" and wakes up 1-3-5 hours later currently i have- (this addAction ["skip 1 hours","_hours = 1;(_hours * 3600) setOvercast overcast;skipTime _hours;_nil = [] spawn {0 setFog 0;}"]; this addAction ["skip 3 hours","_hours = 4;(_hours * 3600) setOvercast overcast;skipTime _hours;_nil = [] spawn {0 setFog 0;}"]; this addAction ["skip 5 hours","_hours = 5;(_hours * 3600) setOvercast overcast;skipTime _hours;_nil = [] spawn {0 setFog 0;}"];) in the init of the tent but it only changes time for me not other real people im playing with. I want the time to change for everyone. Is this possible?

THANK YOU!!!!

Share this post


Link to post
Share on other sites

I think (1 and 1a) are something like this...

Mission1 = [getPos MissionPos, {_OnClickCode = [] execVM "MyCoolMission.sqf";},"MyMissionName","MyMissionDescription","","MissionImage+Path",1,[extra parameters to send to script passed as _this select 9]];

ListOfMissionsArray = [Mission1,Mission2,...];

[Display to Show Strat Map on(findDisplay 46),

getpos MapStartPosition,

ListOfMissionsArray,

[ORBAT STUFF... I don't know... leave blank],

  1. ,

[textpath,colorrgba,imgPos,width,height,rotationangle,text,shadowBool <-custom images array],

(0..1 cloud density),

DisplayNightMapBoolean] call BIS_fnc_strategicMapOpen;

MyCoolMission.sqf:

Create Task...

do something cool...

wait till mission over.

remove Mission1 from ListOfMissionsArray.

Share this post


Link to post
Share on other sites

I'm not really into MP-Editing but maybe you should look-up the keywords "publicVariable" and "BIS_fnc_MP". Also these guidlines were a great help for me.

Share this post


Link to post
Share on other sites

There is a Module to skip time as well. Have not tested yet. Just sync to Trigger and

you can set Module to jump to x time OR advance x hours each time they rest.

Share this post


Link to post
Share on other sites

would righting a skip time script work? like have the addaction ["Rest for 3 hours";rest.sqf"]

Rest.sqf

skiptime 3;

would something like that help so that the time was sever side and not client side???

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  

×