Moogame/mooclick choosing from ultiple characters
I basically just want the players to be able to select different characters. None of the beginner tutorials I've seen explain how to do this.
I would like to be able to send instructions for what object to create. The problems that I don't know how to use the info I send without tieing it to an object upfront. thanks
I'm trying moogame, but any solutions would be helpful.
Re: Moogame/mooclick choosing from ultiple characters
you woulc need to send a number when each player joined, the number of the object, say you have 4 different objects to choose from then send the ID, then have all the objects grouped into the same group (player or evil or whatever) and then if ID = 2, create object 2 and set alt value A of it to the MOO ID, then set alt value B to the object number (2)... now for future conditions and events, instead of using each object, use the grouped object and the code you need will be reduced and allows you more freedom :)
Re: Moogame/mooclick choosing from ultiple characters
So would I send the character class id and create the object in the same event line?
If not, do I have to store the information somewhere first and then execute it?
Thanks
Re: Moogame/mooclick choosing from ultiple characters
are you able to build character selection for a single player game?
Re: Moogame/mooclick choosing from ultiple characters
Yes,
The problem is that I want to read the inital message sent when a player joins before creating the object for the new player.
You know how when a player joins, you create an object to represent that player? I want the want the players to be able to choose what class he/she is going to be. This means that the initial object being created for each new player could vary.
So I want to be able to say create a class 1,2, or 3 object. The problem is that I don't know how to compare a value sent without it being attached to a specific object up front.