Jump to content

SPV_Jackal

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About SPV_Jackal

  • Rank
    Newbie
  1. SPV_Jackal

    Popup target control

    So i've got it working. I downloaded this mission www.rustyinplaces.org/armaediting/nopop_issue_fix.Stratis.7z. That mission has the workaround script to make the targets stay down. In that is a file called popuptarget.sqf with this code inside /* File: PopUpTarget.sqf Author: BIS Description: Script to make the pop-up target actually pop back up. Parameter(s): _this select 0: the pop-up target object. */ private ["_target"]; _target = (_this select 0) select 0; _target setDamage 0; scopeName "root"; if ((_target animationPhase "terc") <= 0) then { _target animate["terc", 1]; if (!isNil "nopop") then { if (nopop) then { breakTo "root" }; }; sleep 3; if (!isNil "nopop") then { if (nopop) then { breakTo "root"; }; }; if (alive _target) then { _target animate["terc", 0]; }; }; true in the mission there is a trigger with name poptarget, text popup target, then none, radio alpha, repeatedly with this in the condition Target1 animate ["terc", 0]; Target1_1 animate ["terc", 0]; Target1_2 animate ["terc", 0]; where each target is named "Target1" "Target1_1" "Target1_2" from there, you follow this thread to the letter, and they stay down and come back up on radio command; http://forums.bistudio.com/showthread.php?158679-Targets&p=2435091&viewfull=1#post2435091 Thanks so much for the help. :cool:
  2. I know there are scripts out there to make pop up targets come up at random. I'm building a shoothouse with standing targets inside that my squad clears. I want the pop up targets to stay down after they're shot but to have an option attatched to a post that allows the instructor to pop them back up if they need to run it again. I'm not very good at writing arma script, but I can manipulate it well enough. I appreciate any help, thanks :)
×