nap1991
Member-
Content Count
13 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout nap1991
-
Rank
Private First Class
-
Different respawn method for different side?
nap1991 replied to nap1991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hey thanks for the help :) But just to be curious about the respawn thing, can i do that simply in the Description file? Regardless the ability of AI to continue their waypoints. -
Different respawn method for different side?
nap1991 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
As the topic, how to make different respawn method for different side? My idea is US soldiers have to search for a target to destroy behind enemy line. I want to set EAST soldier's respawn as BASE so that they keep appearing in the operation area. However, there will be no respawn for US soldiers. How can i make that? I only know how to make all units and sides respawn in the same method. Thanks P.S. will the respawned AI continue their waypoints? -
Help with ONMAPSINGLECLICK command and WAITUNTIL
nap1991 replied to zodd's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks twirly. But i think we don't need the second onMapSingleClick in the quotation marks , do we? As in sqs I do not have that and the script works well. -
Help with ONMAPSINGLECLICK command and WAITUNTIL
nap1991 replied to zodd's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
try this instead clicked = false hint "Click on map test" onMapSingleClick " player setpos _pos; clicked = true " @clicked hint "End of script" exit Btw, my script above is in sqs format so you have to save your script as filename.sqs I know .sqf is more powerful but i am used to use language for sqs and sqs is more simpler to me :P -
"Transport Unload" doesnt work?
nap1991 replied to _qor's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
You are still talking the unload problem are you? If you want the heli land, just place a helipad nearby. The main points: Are your men and the heli in the same group? If they are in the same group, you should use a unload wp for the heli. If they are in separate groups, a transport unload wp is used for the heli. This works everytime for me. The wps can be place directly on helipad or somewhere close to it as AI heli will automatically land on nearby helipad if there is and necessary. (not too far away) Hope i am answering your question cause i didnt follow the whole thread :P -
Grouping objects and units in editor
nap1991 replied to nap1991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks man. I've tried to do it my way,,, it's like that: I create a reference object (A1) with a placement radius 2000m then i create other elements of the camp with specific dir and use "this setpos [((getpos A1 select 0)+/- x), ((getpos A1 select 1)+/- y),0]" but as you guys said, it just require loads of work as i have to preview the position for each objects maybe i'll just stick to your scripting method then :P -
Grouping objects and units in editor
nap1991 replied to nap1991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
thanks,,,i haven't tested it yet,,,but seems the code can spawn units around the marker,,, but wt if i also want to include some specific orientation which i can set in the editor but not just simply spawning units by script? also i am new to scripting :P so is there anyway i can do it in the editor with some simpler commands? -
Grouping objects and units in editor
nap1991 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
The idea is: I want to create a enemy camp with some tents, fireplace and enemy units. However, i dont want to give them a fixed position as i want players to search for the camp. Therefore, i give all objects and units a placement radius say 2000m. But as i do this, all the stuff will just scatter randomly in that 2000m parameter but not in the position i want them to be. So is there any method to group all those objects and units so that they can appear as a group randomly in that 2000m parameter instead of scattering around individually? Many thanks. -
HALO Problem in Multiplayer
nap1991 replied to nap1991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I have tried that,,,still,,,my friend stays in the plane while my AI team and me executed the HALO script :( Wt i did is create a trigger Name: HALO condition: HALO On Act : [A1,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; [A2,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; [A3,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; [A4,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; so on.. When the plane arrive at a certain waypoint,,, HALO = true Trigger is activated,, Me (host) and AI drop out but my friend still sits in the plane it maybe,,, but for my mission,,,cause the mission started in the base for players to pick their weapons from different crates. so if i halo and there are crates in battlefield behind enemy line,,,it looks odd btw, it seems that its the client that cannot execute the script. even i put that in the init field of the unit so that it halo as it start, i am afraid that they still cant execute the script -
Display GroupID in Globalchat
nap1991 replied to nap1991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks,,will try it later :) -
Display GroupID in Globalchat
nap1991 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm making a mission with some AI conversation. How do I display groupID of the unit in globalchat instead of just "Blufor" , "Independent", "Civilian"? Moreover, it is possible for me to set name of the unit (not group ID) and use in sidechat? -
HALO Problem in Multiplayer
nap1991 replied to nap1991's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks for responding. But after going through your codes, it seems that all player will just eject instead of HALO. In fact in my mission, all units can HALO except those played by client. Any script can help to solve this? -
Hi,, I have experienced a problem that when i host my coop mission,,,i have a waypoint of a plane to let all passenger HALO,, the script i use is this one: [A1,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; [A2,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; [A3,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; [A4,1500] exec "ca\air2\halo\data\Scripts\HALO_init.sqs"; so on.. When i test in editor, it works perfect. However, when i play with my friend,,whatever unit(A1-A4) he play,,,his unit just cannot HALO and stay in plane Is this a problem with the client? How can i solve this? Thanks