SAIL - Zwiększenie HP postaci - nieśmiertelność

Gotowe kody SAIL'a, informacje na temat moddingu, itd.

Moderador: zoNE

User avatar
zoNE
The Great Uniter & Site Administrator
The Great Uniter & Site Administrator
Mensajes: 2059
Registrado: Fri Feb 17, 2006 3:44 pm
Location: Poland
Contactar:

SAIL - Zwiększenie HP postaci - nieśmiertelność

Post por zoNE »

Gothuk wrote:hmm nie ma kodu na niesmiertelnosc
jedyne co przychodzi mi na mysl to :

Code: Select all

 export function immortal(unit);
begin
live = GetLives(unit);
while live < 1000 do
   SetLives(unit, 1000);
end;

every 0$0.1 marked 001 do
begin
   immortal(zol1);
   immortal(zol2);
   enable;
end;
Lucyfer wrote:wg mnie też podziała kod taki:

Code: Select all

every 0$0.1 marked 01 do
begin
setLives(postać,1000);
enable;
Enable (02);
End;

//Później może być do wyłączenia choć nie jestem pewnien czy podziałą

Every 0$0.1 <twoje zdarzenie> marked 02 do
begin
disable (01);
End;
a nóż zadziała ^^
Author: Gothuk & Lucyfer
Topic: http://forum.original-war.net/viewtopic.php?t=1345
Responder