OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting Multiplayer => Topic started by: gaz2644 on 17 Oct 2008, 23:05:02
-
hi can you help ?
I want to make a small cqb range for my clan.
all i want is the targets to pop up when the player is a certain distance away and to fall when shot twice.
Im not interested in scoring or anything like that.
Thanks
-
All i wat to know is how to make a pop up target pop up when you go near it.
Please ca you help
-
Firstly, welcome to OFPEC.
I suspect the reason you're not getting much response is that this kind of question has been asked many times in the past. If you try searching the forum (http://www.ofpec.com/forum/index.php?action=search) you may find a quicker solution. For example, this (http://www.ofpec.com/forum/index.php?topic=30568.msg209797#msg209797) or this (http://www.ofpec.com/forum/index.php?topic=29782.0).
-
I'v searched the forum and there are no posts asking this question.
I dont want to make a complete firing range.
I just want to know how to make a target pop up when you go near it.
-
The principle aim of OFPEC is to help editors with editing related problems. We seldom provide ready-made solutions because it defeats the purpose of educating the Community. As the saying goes: give a man a fish, he'll eat for a day; teach a man to fish, he'll feed his family for life.
Thus, if you looked at the second link provided above you'd see a method used for raising the standard targets, namely by setting their damage to 0. So if you place a target on the map, and in its init field set the damage to 1 so it's down, then place a trigger over the target and group it with the player, when that player gets into the trigger area, you can set the target's damage to 0 so it pops up.
This is all untested, so it may not work, but it's up to you to test it to see if it works, and if not try something else. :good:
-
The important thing to realise is that the blue and red targets operate completely differently. The red ones can be forced up and down only by using animations, the blue ones only by altering damage (obviously, both will go down if shot manually).