This site has been archived and made available for preservation purposes. No edits can be made.

GetBase

This is an old revision of this page, as edited 04-06-2012, 03:24 PM by foxtacles (contribs). It may differ significantly from the current revision.
Retrieves the base of an Object.

[top]Declaration

<code cpp>
VAULTSCRIPT vaultmp::Base (*GetBase)(vaultmp::ID);
native GetBase(ID);
</code>

[top]Parameters

vaultmp::ID - the ID of the Object

[top]Return value

Returns a vaultmp::Base containing the base.

[top]Usage example (C++)

<code cpp>
vaultmp::Base baseID;
baseID = GetBase(object);
</code>