help with displaying variable

Game Editor comments and discussion.

help with displaying variable

Postby mt » Fri Jan 05, 2007 11:14 am

i am stopping the animation with mouse click and then i use the function getanimindex to store the number in a variable. but i want to display this variable how do i do that?
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby Troodon » Fri Jan 05, 2007 11:27 am

You can display integer variable by creating text actor and writing in the draw actor->script editor:

yourtextactor.textNumber = yourvariable;
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby mt » Mon Jan 08, 2007 3:47 pm

i tired that but it still doesn't display. maybe its not storing right. but is there any way to store the animation frame number.
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby Troodon » Tue Jan 09, 2007 2:16 pm

Yeah. animpos.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby mt » Wed Jan 10, 2007 11:49 am

thank you! it works now :)
User avatar
mt
 
Posts: 34
Joined: Wed Dec 06, 2006 1:52 pm
Score: 2 Give a positive score

Postby Troodon » Thu Jan 11, 2007 2:39 pm

No problem. :) I can't ignore a question where I know the answer.
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Sgt. Sparky » Sat Jan 27, 2007 11:54 pm

yeah, You have even answered some of my questions when I first started :D and the ones I have probs with now :D :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

Postby Troodon » Mon Jan 29, 2007 3:56 pm

Whoa! I've been on this forum already a year! :shock: :D
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Sgt. Sparky » Mon Jan 29, 2007 4:44 pm

whoah! :D I have only been hear on the forum less than 1/2 of a year. :( but I have been doing GE for bout' 6+(or more)months
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

Postby Game A Gogo » Tue Jan 30, 2007 12:38 am

welcome to the club tekdino ^^
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Sgt. Sparky » Tue Jan 30, 2007 12:47 am

bwah? :o what do you mean? :D I have been here long emough to make somthing good enough for you to "borrow" :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

Postby Game A Gogo » Tue Jan 30, 2007 1:53 am

yeah i know, but i meen, about the one year thing ^^
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Troodon » Tue Jan 30, 2007 4:24 pm

^^
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron