1 Attachment(s)
Container syncing and script callbacks
Code cpp:
void VAULTSCRIPT OnContainerItemChange( ID container, Base base, Count count, Value value )
{
printf("%s %08X %d %f", GetName(container).c_str(), base, count, (float)value);
}
void VAULTSCRIPT OnActorEquipItem( ID actor, Base base, Value value )
{
printf("eq %s %08X %f", GetName(actor).c_str(), base, (float)value);
}
void VAULTSCRIPT OnActorUnequipItem( ID actor, Base base, Value value )
{
printf("ueq %s %08X %f", GetName(actor).c_str(), base, (float)value);
}
It responds lightning fast to in-game changes ;)
Attachment 87