Author Topic: Can VCE variables be used in scripts?  (Read 420 times)

Instead of a normal variable, this,
Code: [Select]
     %arialVariableIs there a way to use an in-game VCE variable like <var:brick:arialVariable> ?

This would help me out a lot.

A previous post of mine showed this:
Code: [Select]
function serverCmdbla(%client)
{
    messageclient(%client,'',"Bla: " @ %client.brickgroup.vargroup.getVariable("Client","bla",%client));
}

For this case, maybe it would be %arialVariable =  %brick.getGroup().varGroup.getVariable("fxDtsBrick","arialVariable",%brick); ?
I swear there was an easier function though.