Przejęcie budynku

Wszystko o modach, patchach i błędach w OW oraz ogólnym programowaniu.
Avatar de l’utilisateur
Goten22
Soldier level 1
Soldier level 1
Messages : 16
Inscription : jeu. juil. 31, 2008 4:46 pm

Przejęcie budynku

Message par Goten22 »

Przepraszam, bo był już ten temat ale został skasowany a nie zdążyłem zapisać kodu, bo miałem problemy z tą stroną. Jak zrobić żeby po przejęciu budynku coś sie stało?
Avatar de l’utilisateur
Gothuk
Site Administrator
Site Administrator
Poland
Messages : 985
Inscription : mar. sept. 04, 2007 6:10 pm
Localisation : Poland, Warsaw
Contact :

Message par Gothuk »

Code : Tout sélectionner

on BuildingCaptured(building,side,unit) do
begin
   // kod
end;
http://wiki.owsupport.com/index.php?tit ... aptured/pl

Code : Tout sélectionner

every 0$0.1 trigger GetSide(building)=1 do // =1 to am, 2 rus itd ... begin 
   // kod
end,
Verrouillé