Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
how do I make player editable string #233316
10/28/08 04:23
10/28/08 04:23
Joined: Apr 2004
Posts: 77
USA
Cactus Offline OP
Junior Member
Cactus  Offline OP
Junior Member

Joined: Apr 2004
Posts: 77
USA
k I know how to make a string and put characters in it, but what if I wanted to let the player put in his own characters i.e player name or somthing.

thanks, Cactus


HI
Re: how do I make player editable string [Re: Cactus] #233320
10/28/08 06:08
10/28/08 06:08
Joined: Aug 2008
Posts: 61
Neurosys Offline
Junior Member
Neurosys  Offline
Junior Member

Joined: Aug 2008
Posts: 61
if your using litec u can use inkeys check the manual for that(find).

if you want c++ you could try my solution to the same need:

http://www.coniserver.net/ubb7/ubbthreads.php?ubb=showflat&Number=232032#Post232032


See more code and crap @ www.neuroticnetworks.com
Re: how do I make player editable string [Re: Neurosys] #233423
10/28/08 19:10
10/28/08 19:10
Joined: Apr 2004
Posts: 77
USA
Cactus Offline OP
Junior Member
Cactus  Offline OP
Junior Member

Joined: Apr 2004
Posts: 77
USA
can someone give me an example in c script. I looked at the one in the manual but i'm still confused.


HI
Re: how do I make player editable string [Re: Neurosys] #233492
10/29/08 05:26
10/29/08 05:26
Joined: Apr 2004
Posts: 77
USA
Cactus Offline OP
Junior Member
Cactus  Offline OP
Junior Member

Joined: Apr 2004
Posts: 77
USA
like y doesnt this code work:
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>


STRING* time_hour_str = " ";


var test = inkey(time_hour_str);


TEXT* time_txt =
{
pos_x = 300;
pos_y = 250;
string (time_hour_str);
flags = VISIBLE;
}

function main()
{
video_mode = 7; // create a program window of 800x600 pixels
screen_color.blue = 150; // and make its background dark blue
calc_time();



}


HI

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1