121
Help / Input > Another Name for Stuff VCE
« on: January 30, 2013, 01:42:20 PM »
Ok. So basically here is my scenario. I want to be able to set names via player input. Example, there are print bricks lined up from A-Z and the user is allowed to click 10 of these letters. Each letter will add to the main variable, let's call it FAKENAME for now. so if the user clicks A, the letter A is added to the FAKENAME var. Then the user can click N and have it add N to the FAKENAME var. The user can input up to 10 letters of choice. The next 2 that are chosen are D and Y. The FAKENAME variable now has ANDY set as the FAKENAME.
I tried adding A and then adding B but the problem I have is that you cannot add letters to a VCEMODVar. You can SET it to a single letter or word, but you cannot ADD it, as it will go back to 0. Somehow I need to be able to add letters to a pre-existing variable, this way, I can click A, and then click B and it will add B next to the A, or whichever order they are clicked in. In this manner I can click G-O-T-H-B-O-Y and when I use var:cl:FAKENAME it will show up as Gothboy, instead of just G. I know I could make 10 different FAKENAME vars but that would be a stuffload of eventing for a simple purpose.
Is there a simpler way to do what I am going for, or do I need some sort of FAKENAME event?
Help is much appreciated, I'm stumped!
I tried adding A and then adding B but the problem I have is that you cannot add letters to a VCEMODVar. You can SET it to a single letter or word, but you cannot ADD it, as it will go back to 0. Somehow I need to be able to add letters to a pre-existing variable, this way, I can click A, and then click B and it will add B next to the A, or whichever order they are clicked in. In this manner I can click G-O-T-H-B-O-Y and when I use var:cl:FAKENAME it will show up as Gothboy, instead of just G. I know I could make 10 different FAKENAME vars but that would be a stuffload of eventing for a simple purpose.
Is there a simpler way to do what I am going for, or do I need some sort of FAKENAME event?
Help is much appreciated, I'm stumped!