PrintDebug i PrintGlobals (teoria i praktyka) 847 2

O temacie

Autor pawbuj

Zaczęty 4.12.2014 roku

Wyświetleń 847

Odpowiedzi 2

pawbuj

pawbuj

Użytkownicy
posty1623
Propsy135
ProfesjaSkrypter
  • Użytkownicy
witam, jak w temacie chciałbym wiedzieć co daje zastosowanie komend poniżej.


func void ZS_ReactToDamage ()
{


PrintDebugNpc (PD_ZS_FRAME, "ZS_ReactToDamage" );
PrintGlobals (PD_ZS_CHECK);
C_ZSInit();
 

MajkeI

MajkeI

Użytkownicy
Front End Developer
posty698
Propsy169
Profesjabrak
  • Użytkownicy
  • Front End Developer
Znalazłem taki komentarz do PrintDebugNpc
//   PrintDebugNpc   (PD_ZS_DETAIL, strMessage);            [ROMAN: FUEHRT DERZEIT MANCHMAL ZUM CRASH ZB. WG. NULL-STRING VERGLEICH]
A co do PrintGlobals, to tutaj jest ciało funkcji i jakiś komentarz:
//////////////////////////////////////////////////////////////////////////
// PrintGlobals
// ------------
// Gibt die aktuellen Globals auf dem zSpy aus
//////////////////////////////////////////////////////////////////////////
func void PrintGlobals (var int channel)
{
var string pipe;
PrintDebugNpc (channel, "PrintGlobals");
//-------- global 'self' --------
if (Hlp_IsValidNpc(self))
{
pipe = ConcatStrings("...self:   ", self.name);
PrintDebugNpc (channel, pipe);
};

//-------- global 'other' --------
if (Hlp_IsValidNpc(other))
{
pipe = ConcatStrings("...other:  ", other.name);
PrintDebugNpc (channel, pipe);
};

//-------- global 'victim' --------
if (Hlp_IsValidNpc(victim))
{
pipe = ConcatStrings("...victim: ", victim.name);
PrintDebugNpc (channel, pipe);
};

//-------- global 'hero' --------
if (Hlp_IsValidNpc(hero))
{
pipe = ConcatStrings("...hero:   ", hero.name);
PrintDebugNpc (channel, pipe);
};

//-------- global 'item' --------
if (Hlp_IsValidItem(item))
{
pipe = ConcatStrings("...item:   ", item.name);
PrintDebugNpc (channel, pipe);
};

};

Ale nie przetłumaczę ci niemieckiego niestety
 

chicken

chicken

RaveN Studio
posty1230
Propsy559
ProfesjaNierób
  • RaveN Studio
Wysyła wiadomości do zSpy.
Ułatwienie dla moddersów.


0 użytkowników i 1 Gość przegląda ten wątek.
0 użytkowników
Do góry