Thamu
Member-
Content Count
11 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout Thamu
-
Rank
Private First Class
-
AI respawn on specific area
Thamu replied to Thamu's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thx for your help again. I will test this. EDIT: So,I tested: I killed the entire squad,but they dont respawn. When the entire squad dies,it enters on "while" again,but nothing happens. -
Hello all! I'm creating a training mission,and I have a small problem. On map Chernarus, I created enemy infantry and vehicles on there,so people can practice some shooting with helos and airplanes. BUT! When everything is destroyed (infantry and vehicle) they dont spawn back! I'm using this script to respawn enemy vehicle: http://forums.bistudio.com/showthread.php?t=76445&highlight=Vehicle+Respawn and using a marker to respawn infantry (like wiki is teaching), but this is not working. I already used the search button, but I found nothing about that. There is a possibility of Infantry on a certain city spawn only on there? Thanks.
-
SR5 Tactical MOUT training script
Thamu replied to Reezo's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thx man, I will try this. ____________________________________________________________________________________________ EDIT: Demonized, it works almost perfectly,exactly what I wanted,but I have a small problem: Two targets spawn at same marker. I have the same amout of targets and markers. Does it works if I create more markers? ______________________________________________________________________________________________ EDIT²: Well, I just created more markers,and works fine. Instead of every time the player Begin a new MOUT course the targets positions changes,he can choose when he wants to do that. Thx for you help man. -
How do I turn off AI? When I load my mission,I need to press "Disable AI",to remove AI from my Team.
-
SR5 Tactical MOUT training script
Thamu replied to Reezo's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Its possible to have a random respawn,where for example for each time you begin a new MOUT course, the targets randomly switch between themselves using setPos? Because if a player play the MOUT Course for more than 1 time,he will memorize the course. -
Display Hint & Text Select target
Thamu replied to ios's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks man.I want to only the player "inside" the trigger show the hint message. I will try what you said. One question: My mission is not a Singleplayer mission, is a Multiplayer,does still works? EDIT: Thanks man,looks like it works. -
Display Hint & Text Select target
Thamu replied to ios's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm using a trigger,and I need to hint be activated only if a player is inside it. It's a training mission. The player select where he want to teleport,and a hint shows,for example: hint "Welcome to Sniper Training!"; But this shows only to the player is inside that trigger.How can I do that? -
General script for Teleport
Thamu replied to Thamu's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
It works now. Thanks. -
General script for Teleport
Thamu replied to Thamu's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I'm gonna test yours.Back soon. EDIT:Doesnt works... :( On the first teleport script,it moves me to a marker,there is any way to move me to a game logic? -
General script for Teleport
Thamu replied to Thamu's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Oh!That works! Thx! EDIT: Too soon! Sometimes,it teleports me to sea,other times too far from my gamelogic. -
Editing Topic for People with same problem: IF YOU ARE USING MARKERS: // To use: Add this script as an action on an item in it's init field. EG: // //this addAction ["Teleport - Talon","teleport.sqf",["FOB_Talon"]]; //this addAction ["Teleport - Base","teleport.sqf",["Base"]]; //this addAction ["Teleport - Airfield","teleport.sqf",["Airstrip"]]; // Where "Teleport - Base" is what the action will read and ["Base"] is the name of a pre-placed marker. // Get the destination. _dest = (_this select 3) select 0; // Get a random direction _dir = random 359; // Move the person 15 meters away from the destination (in the direction of _dir) player SetPos [(getMarkerPos _dest select 0)-10*sin(_dir),(getMarkerPos _dest select 1)-10*cos(_dir)]; IF YOU ARE USING GAMELOGICS: // To use: Add this script as an action on an item in it's init field. EG: // //this addAction ["Teleport - Talon","teleport.sqf",[FOB_Talon]]; (without [b]" "[/b]) //this addAction ["Teleport - Base","teleport.sqf",[base]]; //this addAction ["Teleport - Airfield","teleport.sqf",[Airstrip]]; // Where "Teleport - Base" is what the action will read and ["Base"] is the name of a pre-placed marker. // Get the destination. _dest = (_this select 3) select 0; // Get a random direction _dir = random 359; // Move the person 15 meters away from the destination (in the direction of _dir) player SetPos [(getPos _dest select 0)-10*sin(_dir),(getPos _dest select 1)-10*cos(_dir)]; _____________________________________________________________________________________________ Hi all. I have a small question. On my training mission, I need to teleport people instead of making them walk. But the problem is that for each place I have a "teleporter" I have a new script: player setPos (getPos base1); player setPos (getPos tank_battle); player setPos (getPos campo_tiro2); ... I think that I can create a variable,and send to only one script: player setPos (getPos "_wheretoteleport"); But I don't know how to do it. To teleport,I created a bike and "addAction": this addAction ["Go to Arty Field","teleport_campo_arty.sqf"]; Thats it. Thanks.