Chalk2
Member-
Content Count
6 -
Joined
-
Last visited
-
Medals
Everything posted by Chalk2
-
How to make a single unit hostile
Chalk2 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, i want to create the following situation: a player walks up to a civilian and ask him something, hell respond by pulling his pistol out and open fire at the player. I have everything working till the point where the guy is supposed to open fire at the player and/or the players mates. Does anybody know how to set a former friendly unit hostile towards the players side, or any other method archieving similar results? Thanks. -
How to make a single unit hostile
Chalk2 replied to Chalk2's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
His is how i solved it: Dummy = createGroup civilian; "worker3" createUnit [getMarkerPos "unit", Bomber, "unitDummy = this"]; when needs to freak: DummiEast = createGroup east; [unitDummy] join DummiEast; unitDummy addWeapon "..."; unitDummy addMagazine "..."; -
How to make a single unit hostile
Chalk2 replied to Chalk2's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I tryed the Resistance Idea and addRating, unfortunaly the Civilian still wont attack the player. Guess i have to do this differently. -
How to make a single unit hostile
Chalk2 replied to Chalk2's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
@Imutep i want to stay away from setFriend cause: Im gonna think through the Resistance idea, mabye do a addWeapon/addMagazines during the conversation and see what happens, i got to sleep now, will check tomorow about it. @Junker could you point me to a wiki entry for "set rating" or post a syntax example on how to use it? -
name Pilots & delete a named Unit
Chalk2 replied to Chalk2's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Thanks, that did the trick. -
name Pilots & delete a named Unit
Chalk2 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hi, i try to create the following situation: A Hercules lands at a Airport, the pilot gets out and deleted. The Hercules is named "Hercules". i name the pilot via "HerculesPilot = name Hercules;" i try to delete him at a GetOut-Waypoint on activation via "deleteVehicle HerculesPilot;" Now that doesnt work, im pretty sure its a ovious mistake im doing here, i cant see it, anybody got a idea?