How do I set the text of an actor to a double variable?

Non-platform specific questions.

How do I set the text of an actor to a double variable?

Postby shinobeofsand » Sat Jun 02, 2007 4:07 am

I'm trying to set the text of actor place to the x value of the actor pong1. I tried looking it up but all I could find was "strcpy(place.text, pong1.x);" and it doesn't work. What code would I use?
shinobeofsand
 
Posts: 2
Joined: Sat Jun 02, 2007 12:58 am
Score: 0 Give a positive score

Postby Sgt. Sparky » Sat Jun 02, 2007 4:15 am

textNumber = pong1.x;
:D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest