The Daily Click ::. Forums ::. Klik Coding Help ::. Load character
 

Post Reply  Post Oekaki 
 

Posted By Message

Mr. Misterty



Registered
  03/03/2005
Points
  8
25th March, 2005 at 08:15:31 -

Is it possible to make a certain character load with a certain username/password on TgF? For instance:

Say i type in Username: Jyantai
Password: johnnyboy

I hit enter, and it goes to the next screen. On the next screen, i want it to load a character, Archshaman, specificly for that user, Jyantai. Is that in any way possible?

 
Dear Mother,
Can You Hear Me Laughing
It's Been Six Whole Months Since
Since That I Have Left Your Home
It Makes Me Wonder Why I'm Still Here
For Some Strange Reason It's Now
Feeling Like My Home
And I'm Never Gonna Go
Welcome To Paradise...

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
25th March, 2005 at 22:08:42 -

You could set a global value to something that indicates that the password was typed. When the next level starts, check to see if the global value equals the value for the cheat. If it is, activate the cheat.

 
http://www.klik-me.com

_rydin



Registered
  06/06/2004
Points
  317
25th March, 2005 at 22:11:08 -

Have it so when you click the button to goto the next level, set a global value a number.
That number then will decide which character to load on the next level.

The coding would be something like this:
~~~~~~~~~~~~~~~~~
----Frame 1-----
upon clicking button
-set global value a to 3
-goto frame 2

----Frame 2-----
start of level
+global value a = 1
-load character one

start of level
+global value a = 2
-load character two

start of level
+global value a = 3
-load character threee
~~~~~~~~~~~~~~~~~~~~~

I think this would work. If the global doesnt change for some reason, you have to make the event in a special mode, which I forget exactly; its been so long. Good luck.

 
"Computers in the future may perhaps only weigh 1.5 tons."
-Popular Mechanics, forecasting the development of computer technology, 1949

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
30th March, 2005 at 03:28:08 -

use an INI.
For instance:

group: users
item: username
value/string: password

that way you can even make new profiles once inside.
though that will make it easy to find out other persons passwords
but you can always download some kind of extesion to handle that
http://www.clickteam.info/extensions/extlist.php?cat=1

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click