Frontpage Forums MAPPING HANGOUT MAPPING NICE-TO-KNOWS Sweet WAC commands | Damage zones & Healing station Reply To: Sweet WAC commands | Damage zones & Healing station
  • Shemihazah Participant
    January 3, 2018 at 20:10 #2378

    WAC does not get much sweeter….

    //PSP healing wac by the only true masters of WAC: OM/GF!! Shorter edit by Shemihazah
    if never then
    GLOOP PSPS //all psps need to be in the same group of course
    if never then
    v1 = item
    endif
    v2 = item
    END
    endif
    if v2 <= v1 then
    PLOOP
    if ssnalive(player) then
    if ssnnearssn(player,v2,2) then
    if !pisvar(1) then
    ptext(“<cFF0080>Now you get Health near each PSP”)
    psetvar(1)
    endif
    endif
    if ssnnearssn(player,66813,2) or ssnnearssn(player,66814,2) and pisvar(1) then //use ssn from PSP’s
    ssnaddhp(auto,4)
    random(2)
    endif
    endif
    END
    endif

    Add following code for easy testing:

    if weaponfired(1) then
    PLOOP
    if ssnalive(player) then
    ssnaddhp(player,-25)
    endif
    END
    endif

    That’s all I have to say about mission zone restrictions and healing. Good luck!

Latest 10 Maps

AW2 – Heart Attack

AW2 – Fortified City

AW2 – Smugglers Trail

AW2 – Opencast Mining

AW2 – BRUTAL ENEMY

AW2 – SPACE RACE

AW2 – SAVE THE PRESIDENT

AW2 – POW BREAKOUT

AW2 – THE HUNT FOR BIN LADEN

AW2 – Op Quång Çhi

Recently Active Members

Profile picture of TO77
Profile picture of Shogun
Profile picture of hawk1
Avatar
Avatar
Avatar
Avatar
Profile picture of Coopwarriors
Avatar
Profile picture of Captain
Avatar
Avatar
Profile picture of Red Dog
Profile picture of Ennio PG
Avatar

Log In

Username:

Password:


Lost password? | Register