wogz187 1086 Posted June 22, 2019 My two current projects contain dozens of script references from this forum all in one place with a script description text to find what you're looking for.JET TOYSSWO Mission Control DEMO If you're an experienced script writer you probably won't learn much from the references. However you're welcome to make suggestions for improvement. Keep in mind the theme of making simple scripts that are accessible to new users and not fellow computer science majors. This forum page is WIP and will expand as the above projects progress. 2 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted June 23, 2019 Thank you very much for sharing this wogz187 ! I'll be waiting to see , what's next ! 1 Share this post Link to post Share on other sites
wogz187 1086 Posted June 23, 2019 @GEORGE FLOROS GR, I was thinking something like this: FUNCTION: Altitude Warning System SCRIPT REFERENCE: ALTwarn.sqf DESCRIPTION: Determines altitude that the warning system activates. Spoiler if ((getPos playerJET) select 2 < 50 && Alive PlayerJET && ALTwarn==1) then { playSound ["vtolalarm", true]; titleText ["WARNING", "Plain", 0.1]; sleep 1; titleText ["ALTITUDE", "Plain", 0.1]; sleep 2; ALTwarning = []execVM "ALTwarn.sqf"; } else { ALTwarning = []execVM "ALTwarn.sqf"; }; NOTE: Change, "if ((getPos playerJET) select 2 < 50...", the value "50" to the desired altitude for "too low". Suggest: 60-80 m FUNCTION: Warning System Toggle SCRIPT REFERENCE: WARN.sqf DESCRIPTION: This toggles the Low Altitude Warning System on/off. Spoiler if (ALTwarn == 0) then { hint "Warning System ONLINE"; ALTwarning = []execVM "ALTwarn.sqf"; ALTwarn=1; sleep 2; hint ""; } else { hint "Warning System OFFLINE"; terminate ALTwarning; sleep 2; hint ""; ALTwarn=0; }; Note: Connects GUI Button to ALTwarn.sqf, toggles ALTwarn variable on/off But I'm not sure if this is a good way to communicate information. I'm still thinking about it. Any ideas? I have a lot of experience making tutorials. Especially for game mods. I'm just not sure how best to present this here. We'll figure it out! 2 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted June 24, 2019 7 hours ago, wogz187 said: (getPos playerJET) select 2 https://community.bistudio.com/wiki/getPosASL Maybe this is a little bit better. I was thinking that you can also merge these two script. I don't know but probably the performance might be better. I was checking the video ( i didn't manage to check this through yet ! ) and these feature are very nice ! Keep up the good work wogz187 ! Share this post Link to post Share on other sites
Tankbuster 1747 Posted June 24, 2019 I've only speed read the topic because I'm reading on a small screen, but unless I've missed something crucial, relying on asl when flying over ground is going to end in a lot of crashes. 1 Share this post Link to post Share on other sites
wogz187 1086 Posted June 24, 2019 @GEORGE FLOROS GR, @Tankbuster, Hey guys, Thanks for the feedback. We're not discussing the scripts themselves but the format of presenting a page of script references. The Altitude Warning system has already been written better by @gc8 (link below). What we're trying to determine is a) is a script reference guide a good idea, b) is this the best place for it, c) is the format above functional, or annoying to use.gc8's script Have fun! 1 Share this post Link to post Share on other sites