Author Topic: %client.blah in a function without %client as an arg.  (Read 1000 times)

How do you write a variable like if in one function you had %client.hello and then in abother you needed to use that again but you didnt have %client in the Arguments. Example:

Code: [Select]
function serverCmdblah(%client){
   %client.blah = 1;
}

datablock TriggerData(Blah){
tickPeriodMS = 100;
};

function Blah::onEnterTrigger(%this, %trigger, %obj){
   if(//%client.blah?????????){}
}

Code: [Select]
if(%obj.client.blah){
   // blah
}

Thought so. Thanks Randy.