The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 5:42 am

Forum rules


IMPORTANT

This Forum is for Flash related questions ONLY! Do not ask questions about spriting, Game Maker, Photoshop, or anything else not related to Flash.



 [ 3 posts ] 
[Request] Making a player write his name 
Author Message
User avatar

Joined: Thu Mar 05, 2009 10:49 am
Posts: 31
So I have a question is it possible to make a character right his name and then make the game recognize it from a list of different names and make an event happen depending on his name?

_________________
Image
Click the pod to go to my website.


Thu Mar 05, 2009 11:31 am

Joined: Mon Aug 11, 2008 11:33 am
Posts: 22
Its possible.The code should be something like this:
Code:
if(_root.name1==name){Event}else if(_root.name2==name2){Event}


Thu Mar 05, 2009 1:52 pm
User avatar

Joined: Thu Mar 05, 2009 10:49 am
Posts: 31
Woow thanks man I think I can use that in a lot of ways for some extra features in a lot of games.

_________________
Image
Click the pod to go to my website.


Thu Mar 05, 2009 5:22 pm
Display posts from previous:  Sort by  
 [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.