» Obsah > Modding Archive > SAIL - Bomba samobieżna - atak pobliskuego celu
SAIL - Bomba samobieżna - atak pobliskuego celu
Gothuk pisze:a po co ma sie every wykonywac jak juz nie bedzie bomby? ^^
edit. dobra drobna poprawka
Kod:
every 0$1 trigger IsOK(b1) do var unit; begin unit := NearestUnitToUnit(side_wroga, b1) ; if (GetDistUnits(b1, unit)<10) then AddComAttackUnit(b1, unit); end;
Author: Gothuk
Topic: https://forum.original-war.net/viewtopic.php?f=6&t=1748
» Obsah > Modding Archive > SAIL - Bomba samobieżna - atak pobliskuego celu



