3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1]

Author Topic: Zombie Health Above Head  (Read 408 times)

« on: June 27, 2011, 01:49:56 PM »
Hey guys. can someone help me with getting the zombies health displayed floating above his head? I have a valueLabel in there but it just comes up as random stripes floating way above his head.


What am i doing wrong?

 
Or is this the bug they mentioned in other forums?
« Last Edit: June 27, 2011, 01:54:35 PM by miker95 »
« Reply #1 on: June 27, 2011, 02:20:50 PM »
Quote
i3DLocationToScreen(Vector3,Vector3,OBJ_X)
   Vector3 = screen location. Return data.
             Resulting coordinates specify a screen location using
             the same convention used for iObjectLocationSet()
             when the object is a Sprite, a ValuePrint or a TextPrint object.
             NOTE: if the source 3d location is outside the viewing
             frustum returned 2d coordinates will be outside the screen.
             NOTE: if the source 3d location is behind the camera,
             returned 2d coordinates will be both 1000000000.
   Vector3 = source 3d location to convert to screen coordinates.
   OBJ_X = camera object to be used as a reference.

You better use this function.
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0
« Reply #2 on: June 27, 2011, 02:21:55 PM »
Yea I was about to say there was a demo on that in the Script_Functions_Usage_Examples folder
Pages: [1]