Polski Česky English Français Русский Español
Home Site Original War Support Community Forums Facebook YouTube Discord
Your first time here? View this!
» Index > Modding Archive > SAIL - Wykon. kodu po wejściu postaci danego koloru do arei

SAIL - Wykon. kodu po wejściu postaci danego koloru do arei

Radzio pisze:A teraz ten pierwszy:

Kod:

every 0$1 trigger (FilterUnitsInArea(area1,[f_side,1])-(FilterUnitsInArea(area1,[[f_side,1],[f_type,2],[f_weapon,11]])+FilterUnitsInArea(area1,[[f_side,1],[f_type,2],[f_weapon,12]])))>0 do
begin
//kod
end;

To bylo dla dowolnej z reszty (lol)
Teraz dla radaru:

Kod:

every 0$1 trigger FilterUnitsInArea(area1,[[f_side,1],[f_type,2],[f_weapon,11]])>0 do
begin
//kod
end;

A dla komory tak samo tylko, ze bron ma byc nie “11” tylko “12” :P

Author: Radzio
Topic: https://forum.original-war.net/viewtopic.php?t=727

» Index > Modding Archive > SAIL - Wykon. kodu po wejściu postaci danego koloru do arei