SC_SetObjectCoords

Usage

void SC_SetObjectCoords( int ObjectId, int x, int z, bool centre)


Summary

Sets and object's location on the map using 2D coordinates.


More Information

Set centre to 1 to specifiy the coordinates at the object centre (else the object's top left (from above) corner is lined up with the specified coordinates).

Do not use this function to hide objects.  If you want to hide objects use SC_SetObjectHidden.


Example

// centre object 10 around coords 100,100
SC_SetObjectCoords( 10, 100, 100, 1);


Last Revised: 10 May 2008

Full Functions List


Copyright 2008 by James Bunting
www.jbgames.com/games/rod3d/

This page was automatically generated by jbgames Script Docs Generator