Creation/Dev/Script/Client/TStaticVar

From Graal Bible
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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;
 }