This site has been archived and made available for preservation purposes. No edits can be made.
GetCell
(Difference between revisions)
Return to current revision
-
-
Retrieves the current cell of an [[Object]].
== Declaration ==
-
+
Retrieves the current cell of an [wiki]Object[/wiki].
[h="2"] Declaration [/h]
-
<code cpp>
VAULTSCRIPT vaultmp::Cell (*GetCell)(vaultmp::ID);
native GetCell(ID);
</code>
-
-
== Parameters ==
'''[[ID|vaultmp::ID]]''' - the ID of the Object
== Return value ==
Returns a [[Cell|vaultmp::Cell]] containing the cell.
== Usage example (C++) ==
-
+
[h="2"] Parameters [/h]
[b][wiki="ID"]vaultmp::ID[/wiki][/b] - the ID of the [wiki]Object[/wiki]
[h="2"] Return value [/h]
Returns a [wiki="Cell"]vaultmp::Cell[/wiki] containing the cell.
[h="2"] Usage example (C++) [/h]
-
<code cpp>
vaultmp::Cell cell;
cell = GetCell(object);
-
-
</code>
-
+
</code>
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Object functions[/category]