Jump to content

Search the Community

Showing results for tags 'spawn'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 72 results

  1. Hiho Gentlemen, for the past weeks I have been looking into improving the FPS impact my Vandeanson's Apocalypse mod has on missions. What does the mod do? (all the below happens server side only, fyi) 1. []spawn "Position finder function": find well suiting locations to spawn sites of interest (small sized composition of structures, things and AI, e.g. a banditcamp) based on a random players location 2. []spawn "Site spawner function":mark that location (as set in #1.) and starts "waituntil {code to check for condition}" with condition that ANY player gets close to the site 3. create the site, enable dynamic simulation, start despawn timer 4.a [] "spawn hideobjectglobal function" that will hide the objects of a site once no player is near that site, but the despawn timer (item. 5 below) has not run out yet 4.b [] "spawn un-hideobjectglobal function" that will UNhide the objects of a site if a player is near again 5. wait for despawn timer to run out (minimum up-time of a site) 6. start "waituntil {code to check for condition}" with condition that no player is near the site 7. delete the site/AI 8. start at #1. I hope its somehow recognizable, that this should allow for a dynamic environement, with least possible performance impact due to the "waituntil" gating. Sites are only up if really needed e.g. a player is nearby to actually see the site. If the sites and AI are spawned, dynamic simulation is enabled. The performance gains compared to previous versions (where assets where spawned in and FPS was only saved by dyn. simulation) are already quite considerable. The performance saving actions happen through distance checks, waituntil, dynamic simulation, hideobjectglobal and despawn of sites that are no longer needed (e.g. noone within 4k meters proxy) However, the question that is bugging me currently is about the performance impact of having multiple (possibly 100+) waituntil and spawn threads up sametime. waituntil: the mod spawns about 10 type of sites, each sites may be spawned up to 10 times. Each creates an own "waituntil" thread. I seem to understand that these waituntils are continuisly eating up performance until the "condition" is met. Until then, the condition is checked every frame. In my case, these are way to many "check" iterations than needed. A check every 5 seconds is fine as well. Hence I changed the waituntil to waituntil {sleep 5; ...code..}; Question: am I correct that this shold have a "considerable" positive impact on performance of waituntil usage? I got this from forum posts so it should atleast have some hand and feets. [] spawns: most functions need to be spawned in a separate thread, I can not use "call" as the calling script can not be halted until the function returns true and since suspension (waituntil) is not allowed for called functions. Where i can use "call", i do that. Hence, in additiona to a lot of waituntils, I also have multiple spawn threads run more or less complex code sametime. I believe that if i put in sleep timers between each bulk of complex code that should help with performance (e.g. first all bandit camps are spawned, then the next site may start to spawn in). Question: this, if the sleep timers are set right, should put additional ease on cpu. Correct? Also, if I place small sleep timers throughtout spawned code, I should ease possible stutters/lags when spawning stuff. I could also add condition checks (uff, more waituntils) between major functions spawns, that only return true once the previous site/code bulk is done. I hope it is somehow understandable what I am trying to do and what the challenges are that I am worried about. A playable test version of the mod can be found here FYI: (it does not include ALL of the performance saving actions yet, but it should give you a fair picture). Why this post? I would like to understand if: - my thought process is correct - if the issues I am looking into are actual issues worth looking into - if more experienced people would take a similar approach or if I am missing knowledge and the issue could be taken on in better ways. The changes I made already show positive results, but I am sure that there are things that I dont know yet. The above conclusions are based on the last 2 years of coding various projects and reading up various topics online (KK's blog, forum posts, code optimisation guides...) I have no professional coding background, hence I might lack basic knowledge. End of wall of text. I appreciate any feedback, input, source of information and so on that I can get;) Thanks! Cheers VD
  2. I have built a military training area in the game editor mode and its almost all ready to go live, however I cant seem to find the correct Init: in the functions menu for spawning people close to the training site. I would like to be able have people just join the live server and jump straight to the training site with a basic load out.
  3. As the title says, im having a problem, and i have not the faintest idea on what. Im a mission creator for my group. Im experiencing that in missions i've made with player slots that has custom loadout i've made through the virtual arsenal in the eden editor, end up being naked when they spawn into the game. It was not always like this, but suddenly a few weeks back - it started. No idea why. This is really annoying, and somewhat game breaking for my missions at the current time - so if anyone has an idea on whats going on here, please help! Its somewhat urgent timewise - we're playing a mission this saturday, and if I dont have a fix till then i'll have to make some really unconvenient workarounds. This is the modlist we're using (steam collection): https://steamcommunity.com/sharedfiles/filedetails/?id=1627983524
  4. GF Custom Loot Position Spawn Script by GEORGE FLOROS [GR] Description: GF Custom Loot Position Spawn Script , spawn Weapons , Mags , Items , to the desired position , configurable script. You are free to do anything but i would like to give me Credits for this! Simple and easy to use and adapt . Have Fun ! Installation / Usage: For usage instructions and information of how to use the GF Custom Loot Position Spawn Script , please refer to the included documentation and/or example mission. Place in your mission the files . There is everything included , inside the mission. https://community.bistudio.com/wiki/SQF_syntax Don't try to open this with the simple notepad. For everything that is with comment // in front or between /* means that it is disabled , so there is no need to delete the extra lines. You can open this ex: with notepad++ https://notepad-plus-plus.org/ and also use the extra pluggins (this way will be better , it will give also some certain colours to be able to detect ex. problems ) http://www.armaholic.com/page.php?id=8680 or use any other program for editing . For the Compilation List of my GF Scripts , you can search in: https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/ Notes: Configurable Scripts. Open this mission to the 3D editor and copy paste ( ctrl c - ctrl v ) the item "Land_BakedBeans_F" , wherever you want , the loot to be spawned . There is included a ready Loot List for a vanilla and Ravage. You can also spawn objects. More about , in the info folder inside Information.txt file. Credits & Thanks: Thanks to All script contributors Thanks to everyone who tries to do the best for this game! Thanks to BIS for such a great platform . Thanks to BIS Community and BIS Community Forums . Thanks to Armaholic Community and Forums . Changelog: Version 1.0 Forum topic: - Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=39904 Armaholic download GF Custom Loot Position Spawn Script pics:
  5. Hi, some ppl in my group experience bug which spawn them as seagulls when they try to connect after mission start (they are late/arma crashed/lost connection). Lets say if this person lost connection and he is trying to join back he spawn as seagull but his character (AI) its alive and working as normal, when he connects on additional slot with AI switched off he spawns without problem. Thing is this didn't happend before (2-3 months ago) and we didn't change mods in this time (image below). Mission was w/o any additional scripts in editor and inside mission folder only mission.sqm Server logs at the time of reconnection first player 21:30:49 Loading movesType CfgMovesBird 21:30:49 Creating action map cache 21:30:49 MovesType CfgMovesBird load time 23 ms 21:31:20 Client: Remote object 19:0 not found 21:31:22 No speaker given for 'Kyle Thomson' second player 21:32:28 Client: Remote object 20:0 not found 21:32:32 No speaker given for 'Ethan Hill' Any idea if mods are problem, maybe something with server(dedicated)? Or how can i fix this. mods
  6. I'm stuck trying to spawn IEDs into pre-designated locations. I can get them to spawn just fine using createVehicle, but they aren't armed and can't be armed (even with a defusal kit and by an engineer). I'd like to be able to do both ACE IEDs and vanilla IEDs. Here's what I'm trying: "IEDurbanSmall_f" createVehicle IED1pos; //IED1pos is a position, not an object "ACE_IEDUrbanSmall_Range" createVehicle IED2pos; //IED2pos is a position, not an object The spawning works, but the objects spawned are ID'd as things like ied_land_small.p3d, and they don't set off a mine detector. Any suggestions how I can create both of these types?
  7. I am in a bit of struggle. I am making a mission where I want an assault boat unit to respawn if it is killed, the problem is you can't simply use the AI spawn module because it does not support naval vehicles for some insanely stupid reason. I want the boat crew to follow a waypoint (Guard waypoint) again when they respawn, but how?? PS: I have tried using JEBUS but they do not respawn or follow waypoints so... I have also tried different things with the "Object: Event Scripting - On killed" field, but nothing works. Hope you guys can help
  8. Hey I'm trying to get my script to randomly select a location specified in an array and spawn units accordingly. Only problem is that while the unit does spawn, the other spawn locations end up getting a few units spawned there as well. Can anyone one find the error? _spawnPoints = ["spawn_1", "spawn_2", "spawn_3"]; _indUnitList = [ "CUP_I_TK_GUE_Soldier", "CUP_I_TK_GUE_Soldier_TL", "CUP_I_TK_GUE_Soldier_MG", "CUP_I_TK_GUE_Soldier_AT", "CUP_I_TK_GUE_Soldier_AAT", "CUP_I_TK_GUE_Soldier_M16A2", "CUP_I_TK_GUE_Soldier_GL", "CUP_I_TK_GUE_Soldier_HAT", "CUP_I_TK_GUE_Soldier_AK_47S", "CUP_I_TK_GUE_Soldier_AR", "CUP_I_TK_GUE_Soldier_AA", "CUP_I_TK_GUE_Commander", "CUP_I_TK_GUE_Guerilla_Medic", "CUP_I_TK_GUE_Guerilla_Enfield", "CUP_I_TK_GUE_Demo", "CUP_I_TK_GUE_Sniper", "CUP_I_TK_GUE_Mechanic" ]; _spawnMarker = _spawnPoints select (floor random (count _spawnPoints)); _unkSpawnPosition = getMarkerPos _spawnMarker; IndGroup = [_unkSpawnPosition, INDEPENDENT, _indUnitList] call BIS_fnc_spawnGroup; IndGroup allowFeeling 0; IndGroup enableDynamicSimulation true; sleep 0.5; EDIT: Never mind guys, I guess when I was alt tabbing I somehow managed to place a few units. But if anyone reads this, do they have a more efficient way of doing this?
  9. Hello! I'm new to Arma scripting but having a background in scripting for web apps and such I find this to be such a good hobby. Anyways, I'm currently trying to spawn some opfor units on a specified location (Which I have done correctly or at least works). After they all spawn I want them to start patrolling the area within a specified range from they're spawn location. Now, I have looked at numerous youtube videos and found a couple of scripts on the internet that i could just copy and paste; But I'm really trying to learn and not have to hack my way during every scenario. Could someone please review my code and point out what I'm doing wrong and correct it so I can try to learn the logic behind the corrections? So far this is what I'm trying... Spawn units on location (infSpawn) from designated list array (_opUnitList) Use a selector variable to pick from list, then updating the selector to reflect the value of the next object in array. After each unit spawns that unit is added to a second list of spawned units (_opUnitSpawned) From the spawned list, use a forEach to cycle through and assign them the patrol task. Everything is working besides the patrol task. I get the "Error Undefined variable in expression: _grp from SpawnGroups.sqf line 40" _opUnitList = [ "CUP_O_TK_INS_Soldier", "CUP_O_TK_INS_Mechanic", "CUP_O_TK_INS_Soldier_FNFAL", "CUP_O_TK_INS_Bomber", "CUP_O_TK_INS_Soldier_MG", "CUP_O_TK_INS_Sniper", "CUP_O_TK_INS_Soldier_TL", "CUP_O_TK_INS_Commander", "CUP_O_TK_INS_Soldier_AT", "CUP_O_TK_INS_Guerilla_Medic" ]; _opUnitSpawned = []; _total = (count _opUnitList); _rnd = 0; for [{_x = 1}, {_x <= 10}, {_x = _x + 1}] do { _pick = _opUnitList select _rnd; hint "Spawning Soldier"; sleep 0.5; grp = createGroup east; _newSoldier = _pick createUnit[position infSpawn, grp]; _opUnitSpawned = _opUnitSpawned + [_pick]; _rnd = _rnd + 1; }; { [group this, position infSpawn, 50] call bis_fnc_taskpatrol; } forEach _opUnitSpawned; hint "Done!";
  10. Hello, So here is the deal, i am making a mission.sqm for my server Malden_life, so first i have the choice between IA and Player on the caracter selection tab, Then more important i don't have any spawn what so ever ... (i have made a copy of everything on the map on Tanoa_life.tanoa and put it into Malden_Life.malden i spent at least 9 hours of retouching positionning ect ... and my players simply just spawn were every player spawn on the server ... If anybody could help me i would be so gratefull !!!. Thanks for your time. Later.
  11. Hello everyone! I need some help with scripting. I want to put several enemy squads against a fortified position that must be stopped. But in order not to mass to many enemy units on the ground and prevent fps from dropping down I want to make these enemy units spawn for... let's say... a couple of times after one of the units (entire group) is dead. In my case - enemy boats crossing a river. When one of the boats is disabled, destroyed or the enemy group on board is eliminated, this action should work only a few more times no matter which group is destroyed, so after this condition of destruction is completed for several times, they must stop spawning again. The better idea or solution would be if all enemy groups stop spawning after some time, for example 10 minutes. In this 2nd case - the players receives a task to hold the enemy for 10 minutes (or in the first case to hold X waves/boats). I know how to put the spawn module, but I am not sure if it consist any options to make this action repeat random number of times, for example. Would you help me? Cheers!
  12. Good evening everyone ! I've got a few problems with my mission. I need to make a mission that is playable in local with 8 players in total. I've put my two playable teams of 4 player each (with respawn points specific for each team and respawn points synchronised to each member of the groups) and put objects (building and vehicles) and triggers (with timers) in order to make my mission. I've got Eden Enchanced installed and I've put scripts (description.ext, init.sqf, initServer.sqf, loadout.cpp and onPlayerRespawn.sqf). Here are my problems: -When people are joining and the host launches the mission, even though the host can play the mission, players joining them are stuck to the mission loading screen (put they can still hear the ambient sounds of the mission). I later found out that if I remove the possibilty for people to revive their squadmates, this problem doesn't exist anymore (although it's annoying that i have to do that for making my mission work). But this leads to the second problem... -When people who joined are in the lobby when the mission starts, they will spawn as seagulls. If they join the server during the mission, they will spawn as normal soldiers. There, sorry everyone to have disturbed you and I hope that you can help me solve this problem asap. If you need other infos, you can ask me. Have a good night !
  13. Hello, I am looking for a solution for spawning a flashbang effect, possibly on a marker, invisible helipad or possibly using any other way that works best and can be customized for future use. So far I was trying to spawn the grenade using the createVehicle command and getting a position of a marker. Two problems I have are: - Flash/stun grenades do not explode on spawn, they appear for a few seconds and then disappear entirely (I've checked smoke as well as frag grenades and those two do work fine) - The command spawns a literal grenade which can be seen physically, whereas I am looking for it to either explode on spawn (for the grenade itself not to be seen) or for it to trigger only the effect instead. The command is supposed to be a supplement to door breaching on action and is supposed to affect AI as well. I believe that the effects of the ACE M84 grenades do, so that would be the ideal solution. Thanks for any suggestions! Adam
  14. Hello I want to spawn a icon on map after a trigger is fired i want to spawn the markers -> standard draw -> pickup (hd_pickup) i have looked thru the WIKI but have not found anything that helps me. any one who can give me the solution..
  15. Hi!, sry for my bad english, i am looking for a script to do : A training camp, with a Addaction start the training, then spawn "X" IA unit in random location inside, also a addaction where you can restart training or delete training,. I have the training camp , and the random location with marks, but idk how to spawn unit inside and how delete. anyone know a script or something for this pls?, Thanks you very muchS!!
  16. Hello, I'll try to make this as simple as possible: I'm wondering if there's a way to have a trigger disabled at first, and later enabled by another trigger. In other words, "spawn" a trigger. Imagine you're going through a corridor, nothing happens when you go to the end of the corridor. Then you head back and something happens on the way back. Example: Thanks in advance! :)
  17. Hello friends! A couple of days ago I've ran into some trouble I couldn't solve myself, and I found help here very fast. Right now, I'm at the point where I'm unable to find a solution for some sort of problem, again. What I'm trying to achive, is to spawn a vehicle - the AWC 302 Nyx (Wiesel), to be exactly - with alternate, official texture. The Nyx features the standard AAF-Camo, and alternatively an simple Olive-Camo. Since I'm making a own verison of DUWS - many of you will know what this is -, you will also know how those vehicles do spawn: Go to the headquarters, talk to the officer, choose the vehicle, spend the credits, and the vehicle will spawn outside of the HQ. Heres a little insight of how I try to spawn this vehicle with the alternate Olive-Camo: case 18: { if (commandpointsblu1 >= 28) then { hint "Vehicle ready !"; commandpointsblu1 = commandpointsblu1 - 28; ctrlSetText [1000, format["%1",commandpointsblu1]]; _vehic = "I_LT_01_AA_F" createVehicle _spawnPos; _vehic setObjectTexture [0,"Indep_Olive"]; _vehic setObjectTexture [1,"Indep_Olive"]; _vehic setObjectTexture [2,"Indep_Olive"]; _vehic animate ["showTools", 1]; _vehic animate ["showCamonetHull", 1]; _vehic animate ["showBags", 1]; _vehic animate ["showSLATHull", 0]; } else { hint "Not enough command points"; }; }; If I do place the vehicle in 3den-Editor, change it's visuals like the camo, SLAT-Armour, camonet etc., and then export it, copy paste it somewhere, the Olive-Camo is defined as "Indep_Olive", like above. Exported stuff looks like this: _veh = createVehicle ["I_LT_01_AA_F",position player,[],0,"NONE"]; [ _veh, ["Indep_Olive",1], ["showTools",1,"showCamonetHull",1,"showBags",1,"showSLATHull",0] ] call BIS_fnc_initVehicle; Of course I already found out that this won't work with SetObjectTexture, unfortunately. The vehicle does spawn with all the extras like SLAT-Armour, tools, but with missing textures (At least this showed me, that it somehow works). I then tried different things to achive my goal, changed something here and there, tried to find the path to those textures, etc. Funny enough: It's possible to use this code instead of the old one, and spawn the vehicle with all the extras and the correct textures. Bad thing is, It's spawn behaviour is totally different and all over the place - sometimes even glitches into the HQ. Results in apocalypse. If I'd use the new code instead of the old one, it'd look like this: case 18: { if (commandpointsblu1 >= 28) then { hint "Vehicle ready !"; commandpointsblu1 = commandpointsblu1 - 28; ctrlSetText [1000, format["%1",commandpointsblu1]]; _veh = createVehicle ["I_LT_01_AA_F",position player,[],25,"NONE"]; [ _veh, ["Indep_Olive",1], ["showTools",1,"showCamonetHull",1,"showBags",1,"showSLATHull",0] ] call BIS_fnc_initVehicle; } else { hint "Not enough command points"; }; }; It's a long and already ungrateful journey, and I don't know where else to look, what else to do. If there would be someone to point me in the right direction, or is able to make a functioning code of the examples above - old code or new one, doesn't matter as long as it works and the spawn behaviour is correct and identical to the old one, I'd - again - be more than very thankful. Hope to hear from you folks, enjoy your time! Regards, MajorBlunderbuss.
  18. Hello mates, I hope this is the right place to come to, cause I'm about to get chronical headaches from trying to solve this problem by myself. The last couple of days I'm spending some of my time overhaulin' a version of DUWS (Dynamic Universal War System), and most of the time everything worked like a charm. But right now I'm not able to find a solution for this problem I've ran into. To make my issue more clear, I'd like to be a little bit more specific, so maybe my helping hand is able to fully understand. In DUWS - I guess many of you know this mission - you are able to buy vehicles, units, squads etc. Since I'm reworking some parts of DUWS Unofficial from scratch - esspecially the units, vehicles and squads -, the one who made it in the first place delivered a very nice template for the things I wanted to do. The unofficial version of DUWS has build in mod support, like for RHS Escalation, etc. I have expanded this, by adding in support for some other mods like "Global Mobilization", "BWMod" and "FFAA" . You can play it vanilla, or with those mods. If you have the mods, you can buy the units and vehicles of those factions, if not, a little hint will pop up, telling you that the mod is missing - this is done by checking if the requested unit is available in the first place. Here is a little insight of how it looks for requested foot soldiers: The same goes for vehicles, of course... BUT... here comes my problem: I'm not able to get it to work for requested mod squads - like a fireteam, or a tank platoon. I mean I'm able to get the mod squads working of course, I can buy them and they are fully functional, but I want the game to check if this squad is available in the first place. Otherwise you will pay credits for nothing if the needed mod isn't installed. And since I'm planning to release this version someday, I really want to get this fixed and implemented. And here is a little insight of how it is defined for squads: (Original, only changed the squad and the faction) It's really driving me crazy. I'm no professional programmer, sure, I've learned and catched many things by myself, and I already tried to solve it by myself, but after many failed attempts I can't think of anything else then asking for help, cause I'm running out of ideas. If some mighty coding paladin would be so kind to point me in the right direction, or even take this template above me and make it functioning, I'd really, really appreciate it. I just want it to work like it works for units and vehicles, and I'm sure this is possible. But I can't figure it out. Well, enough said. Have a nice day folks, hope to hear from you! Regards, MajorBlunderbuss.
  19. Hello, i've come along some problems with my missions in multiplayer and now i'm wondering, if there are some workarounds for them. 1. sometimes players can't pick up items from dead bodys. this is a arma classic by now. any ideas how i can minimize the change of it happening? 2. sometimes a mobile spawnpoint (tent) is not available for certain players, while it is for others. also disconnecting and rejoining does not help for the client, who cannot see the spawn point. repacking and resetting the tent does not help either. any ideas? 3. animals (from the animals modules) either don't spawn in MP, or they do spawn but are completely static. i noticed that there are different animal modules, but i haven't had success with either of them. any ideas? i really need some sheep in my missions! 4. the first shot fired from the new VLS on the liberty destroyer doesnt't work. there is a sound and VLS reloads, but the missile does not actually show. the second shot and following shot seem fine. it's not a game-breaker but a bit of an imemrsion killer... 5. not a real issue, but i will add this here, instead of making a seperate thread: a player that entered ZEUS mode, will still have some UI on his screen, even when he leaves ZEUS (i think it is the ticket counter on the right, if i remember correctly). is there a way to limit ZEUS UI to the time actually being in ZEUS mode? thanks for you help:)
  20. Currently using createVehicle to spawn an object under certain conditions. I'm wondering how to create a variable name once it has spawned.
  21. Problem is that even though players can select the respawn position (using Respawn Position module) upon entering the server, they are are spawning on map edge instead. I've used this method successfully in other ops and cannot see what could be causing this. Respawn Position settings Type: Infantry Side: Blufor Show to: Only the side Notification: Disabled //Description.ext respawn = "BASE"; respawnButton = 1; respawnDelay = 5; disabledAI = 1; respawnTemplates[] = {"MenuPosition","Spectator"};
  22. EDIT: Solved. Add waitUntil {triggerActivated StartSpawn}; for "_i" from 1 To 4 do { to the start of the .sqf to limit the number of loops and add sleep 600; to the end, like so: Trying to make an AI group spawn at 1 of 4 locations every 10 minutes when Opfor is present. Currently, Opfor enters condition area, a group spawns correctly, but it seems Opfor has to leave and re-enter the area to trigger another spawn. I want the trigger to loop continuously every 10 minutes so long as Opfor remains present. //Trigger //EnemyWest01.sqf
  23. hello guys, i've run into a strange problem and really have no idea where start to look for a solution! i've my big function container (its a big read, i post it just for the records...): ...it contains all my functions for this mission, but...when i launch mission, it start say that FUNCTION_NAME is not defined (where "FUNCTION_NAME" is the name of one of my functions, that as you can see are defined. i pre-load the file containing the functions in my initServer.sqf : call compile preprocessFile "DDscripts\DWARfunctions.sqf"; null = [] spawn SPAWNERconvoyB; null = [] spawn SPAWNERconvoyR; null = [] spawn SPAWNERciv; null = [] spawn SPAWNERind; null = [] spawn SPAWNERmine; even more strange, i noticed adding >> uiSleep 10; between a function spawn and another, some start to work!! i even started to think its like the functions are not pre-loaded, and server dont recognize them ! but isnt supposed to do this the >> calling compile preProcessFile ... ?? i'm seriously confused....any light on this? thanks !
  24. So I'm making a kind of "shooting range"-scenario with live targets. On one place, I want the players to have the possibility to spawn enemy units. Per now I have a laptop with Init -> I have a SpawnAI-module with VariableName "spawn1", synced with a trigger with condition ->"Spawned" - that starts spawning of 1 enemy AI. When he dies, a new one spawns after 15 seconds. But I can't figure out a 'temporary disable' function. Help?
  25. Hi! I'm having issues spawning in ACE3 IED's with pressure plate activation on. Currently there's 50 IED's that spawn in, they're simulated objects and should (?) work with pressure plate, yet they don't. Here's the faulty script: if (!isserver) exitwith {}; //Theres a marker called center in the middle of the map _centerMrk = "center"; _dist = 25000; _center = getmarkerpos _centerMrk; _counter = 0; _rDist = 5.75; // Objects used as IEDs _iedList = [ "ACE_IEDLandBig_Range", "ACE_IEDLandSmall_Range", "ACE_IEDUrbanBig_Range", "ACE_IEDUrbanSmall_Range" ]; while {_counter < 50} do { //Create position on map for IED _list = _center nearRoads _dist; _iedType = _iedList select (floor random (count _iedList)); _road = _list select (round random (count _list)); _roadDir = getDir _road; _newDir = _roadDir; _dir = _newDir; _pos = getpos _road; _posx = _pos select 0; _posy = _pos select 1; _tx = (_posx + (_rDist * sin(_dir))); _ty = (_posy + (_rDist * cos(_dir))); _iedPos = [_tx,_ty,0]; //Create IED _trgMan = createVehicle ["I_C_Pilot_F", _center, [], 0, ""]; _ied = createVehicle [_iedType, _iedPos, [], 0, ""]; _ied setDir (random 360); _ied setPos getPos _ied; //So far so good, this is where I have to add some type of way to trigger them because they dont work by themselves like if you place them with zeus [_trgMan, _ied, "PressurePlate"] call ace_explosives_fnc_connectExplosive; deleteVehicle _trgMan; //Add IED to list _counter = _counter + 1; }; If anyone with knowledge about ACE3 could help me out that'd be highly appreciated. //Green
×