Search the Community
Showing results for tags 'maker'.
Found 3 results
-
Hi, I try to make a script which will use markers to detect player and spawn enemies (not sure this is possible?). The goal is to evade placing 70 triggers on the map. I tried with this if (player inArea [[(getMarkerPos "mrk1")]250,250,45,false]) then {hint "Tralala";}; But it gives me error "Array expected Boolean". But where is the error? Thanks for any help.
-
Hello everyone! In support of last week’s Workbench update, today we launched a series of mod-making video tutorials for Take On™ Mars. Titled ‘Mars Mod-Maker's Manual (M4)’, the video series aims to help people get started with creating additional or new content for Take On Mars, using the game’s Workbench editing suite. The first chapter - Data Structure & Modifications – kicks off with an explanation of where Take On Mars looks for its data, and how it can be modified. The fact that Take On Mars itself started as a mod for Carrier Command: Gaea Mission explains a lot about the dedication of this team to modding and user content creation. While we’re still adding new content to the game ourselves, with a really cool announcement coming up next week, we’re looking forward to see how other people experiment with the tools used to develop Take On Mars. The Mars Mod-Maker's Manual (M4) should form an excellent starting point. More chapters in the ‘Mars Mod-Making Manual’ series will be released over the course of the next few months – starting with the second chapter about addons, mods and total conversions. Kind and sincere regards from the Dev team, Martin Melicharek (Project Lead)
-
Function that returns after it was spawn called.
sandbird posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
This i gonna sound weird....but i was wondering if its even possible to do this...i've been trying...believe me. I'll simplify my code, cause its huge...but basically the algorithm is like this: my fetchFnc.sqf has (gets included) : fetch_data = { _name= _this select 0; _fncName= _this select 1; .....blah blah blah based on _name, and then.... _number= 10; [_name, _number] spawn _fncName; }; I got this in my init.sqf: #include "fetchFnc.sqf"; private ["_name","_number"]; my_function = { _name= _this select 0; _number= _this select 1; }; 0 = [ "George", my_function ] spawn fetch_data; [b]diag_log format [ "After calculations: %1 has %2", _name, _number];[/b] How can i update on my main init.sqf the values for _name and _number to be show in the diag_log ? Cause right now as you can guess it doesnt get the values. I need to get the values outside of the function...I tried making them global variables....still no luck. ps: Cant do "call fetch_data" cause inside there are waituntil functions. I dont mind the script to fail...for example something went wrong and there is no data for _name George...so i send out an error. I can handle that after in my main code. So if _name == "error" then do..... -Thanks