Creation/Dev/Script/Client/TStaticVar

From Graal Bible
Revision as of 11:31, 16 February 2010 by Pooper200000 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Inherits TGraalVar.

Can be used to pass an object through a function (see example script) which would otherwise be ruined if using a TGraalVar.

Functions

Name Return Type Description
destroy() Destroy the object


Example Script

 function getItem()
 {
   temp.item = new TStaticVar();
   item.value = 321;
   return item;
 }