talkinBEERmug
Member-
Content Count
22 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout talkinBEERmug
-
Rank
Private First Class
-
a script to maintain speed
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
Works perfect, thank you sir. -
I need a script, or a trigger to call a script when a player is going too fast. I want to be able to keep the speed of the players car to slow. In my mission the players are driving a car through enemys, they are trying not to bring suspicion on themselves, if they drive fast they will bring suspicion on themselves,that's when I want to call the script set captive false so the enemy will engage them.
-
Switching Sides in mission.
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
thank you kronsky, I forgot all about that. that works perfect. -
Switching Sides in mission.
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
Thx for the answers, cjtroop what is the default for the "T" key, and if its somthing to do with switching players in single player, I need this for MpMission. Kronzky I understand what your saying but do not know how to change the activation of the trigger to what your saying, but I think I will still have the same problem if I can because I need my civlians to become enemy of east in view of east, thats where my problem starts, if I use the setfriend command in view of east they will target me as a enemy but not shoot at me. I figured out how to do what I need, by grouping the civs to west in the editor, then when map starts the west dies in view of the civs, at that point the civ1 takes the leader role, and he is now bluefor for triggers, and east, then I setcaptive on him so east wont target him. The setcaptive command works even if they are in view of you. My new problem is I dont want to have a dead west soldier and me radioing "Oh No 1 is down, this is blah...". -
Here is my problem, I want the players to look like civilians, but not be civilians, Im using triggers to call on other scripts, but I cant have the activation be civilians because we are driving a car, and arma thinks all empty props are civilian. I tryed to make my players join or group with bluefor, or rac, but then he starts giving us commands, even when I sent joinsilent and kill the man he still shows up on the screen to move to him. So I need a way to start as a civilian then change to bluefor, or rac, so my triggers will work.
-
Trigger Problems In MP dedicated
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
As I tryed few more things I found out if you start within or next to the trigger it does work. Â But in my mission I start far away from the trigger ill do a lil more work to see if I make the trigger bigger if it will work. Here is what I found out, no matter how big the tirgger area is it will not sound the trigger if I spawn(start) my guys so far away. Here is an example of my trigger: Triggername: alarm Activated by: Civilian Present Play Sound on Trigger: playalarmbell now this does not work if I spawn my guys like 3000 meters away, but if they are within 500-1000 meters it works fine. im going to test to see if I wait like 5 mins if it will not work, im think it takes about 5 mins to fly there so that mite be why it is not working. -
In MP dedicated server my triggers are working, but I have sounds that im trying to play when the trigger activates, two of them wont play at all, and the one time I heard the third one it was really late. If any one can help me with getting the trigger sounds to work, or I dont mind playing the sound thru a script, but I want the sound to come from a spot on the map, not just all around the player. It is the alarmbell sound, and the house destruction sound.
-
SetFriend and ammo crates
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
Im having the west shoot civs, the setfriend command is working fine for this, it is not taking away points for killing them, and it is treating them as enemies. The only problem im having with setfriend command is that it is messing with the ammo crates. the reason i need the east to be friends to the Civ is im using a Mi17 with a east crew, I group the mi17 to a west ai, so they will not fire on west, and west ai will not fire on them, but when you look at the chopper it shows up as red, enemy. When I do the setfriend with the east and west it shows up green. The way im getting around this now is im taking out the setfriend for east and west and just putting up with the red Mi17, and im calling the setfriend for west and Civ later after you have got your weapons. -
SetFriend and ammo crates
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
I can take weapons off their bodies after they die, and I dont think it is just the Civ setfriend command cus I also have this one. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">east setFriend [west, 1] WEST setFriend [east, 1] CIVILIAN setFriend [west, 0] WEST setFriend [civilian, 0] any time I set freind with west it messes up the ammo crate -
I have this in my init.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">CIVILIAN setFriend [west, 0] WEST setFriend [civilian, 0] When this command runs I can no longer get into ammo boxes, any ammo boxes. It will not give me the icon for gear on the ammo box. Even when I switch thru the menu it will not let me look in the box. any one know how I can get around this?
-
how do you change an unit's side?
talkinBEERmug replied to DieAngel's topic in ARMA - MISSION EDITING & SCRIPTING
In my missions I wanted the Civ to attack west, and west attack Civ off the bat. What I ended up doing is in my init.sqs I used the setFriend command. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">west setFriend [civilian, 0] civilian setFriend [west, 0] If you only set one then one side would see them as enemy and one whould not see them as an enemy. -
how do you change an unit's side?
talkinBEERmug replied to DieAngel's topic in ARMA - MISSION EDITING & SCRIPTING
In my missions I wanted the Civ to attack west, and west attack Civ off the bat. What I ended up doing is in my init.sqs I used the setFriend command. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">west setFriend [civilian, 0] civilian setFriend [west, 0] If you only set one then one side would see them as enemy and one whould not see them as an enemy. -
Mp mission problems
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
So the _ means local, and the name is global, so in this code: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{unAssignVehicle _x} forEach units _grp1 ~1 {doGetOut _x} forEach units _grp1 it should be this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{unAssignVehicle _x} forEach units grp1 ~1 {doGetOut _x} forEach units grp1 right? Thx for the help -
Mp mission problems
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
As it is now, I have this in my init.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">grp1 = group p1 and I know it is putting me in the right group because when I do some of my triggers it executes the following: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">leader grp1 sidechat "blah" this does work, and it finds the leader of grp1 and does the side chat. Now should my init.sqs read like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_grp1 = group p1 or do I have to list both like this: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_grp1 = group p1 grp1 = group p1 -
Mp mission problems
talkinBEERmug replied to talkinBEERmug's topic in ARMA - MISSION EDITING & SCRIPTING
I put this in a sqs file that I call buy a trigger radio alpha <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">{unAssignVehicle _x} forEach units _grp1 ~1 {doGetOut _x} forEach units _grp1 I put this code in my init.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">grp1 =Â group p1 Still not working in dedicated server, even when I was testing in the editor it was not working.