MrJolteon wrote:You have to use saveVars and loadVars.
http://hastebin.com/birejogemo.erl
MrJolteon wrote:The saveVars goes in the event that is executed after you select a character, and the loadVars goes in a Create Actor event on the view actor of the second dat.
knucklecrunchgames wrote:MrJolteon wrote:The saveVars goes in the event that is executed after you select a character, and the loadVars goes in a Create Actor event on the view actor of the second dat.
So once I load the varabiale, it will create the charater chosen?
MrJolteon wrote:knucklecrunchgames wrote:MrJolteon wrote:The saveVars goes in the event that is executed after you select a character, and the loadVars goes in a Create Actor event on the view actor of the second dat.
So once I load the varabiale, it will create the charater chosen?
The variable is just a number until you give it purpose. Just loading it won't do anything.
knucklecrunchgames wrote:MrJolteon wrote:knucklecrunchgames wrote:MrJolteon wrote:The saveVars goes in the event that is executed after you select a character, and the loadVars goes in a Create Actor event on the view actor of the second dat.
So once I load the varabiale, it will create the charater chosen?
The variable is just a number until you give it purpose. Just loading it won't do anything.
but how do I give it a purpose?
MrJolteon wrote:knucklecrunchgames wrote:MrJolteon wrote:knucklecrunchgames wrote:MrJolteon wrote:The saveVars goes in the event that is executed after you select a character, and the loadVars goes in a Create Actor event on the view actor of the second dat.
So once I load the varabiale, it will create the charater chosen?
The variable is just a number until you give it purpose. Just loading it won't do anything.
but how do I give it a purpose?
knucklecrunchgames wrote:MrJolteon wrote:knucklecrunchgames wrote:MrJolteon wrote:The saveVars goes in the event that is executed after you select a character, and the loadVars goes in a Create Actor event on the view actor of the second dat.
So once I load the varabiale, it will create the charater chosen?
The variable is just a number until you give it purpose. Just loading it won't do anything.
but how do I give it a purpose?
loadVars("save", "save");
// loaded character variable
switch(variable)
{
case 0: // this code makes it so variable==0 means create player
// put the create actor code here for player
break;
// and so on
case 1:
// put the create actor for player2
break;
}
knucklecrunchgames wrote:These forums are not very great for helping people out
knucklecrunchgames wrote:But I just get angry when people post stupid idiots with loads of hands
MrJolteon wrote:knucklecrunchgames wrote:But I just get angry when people post stupid idiots with loads of hands
It's called an "infinite facepalm", not a stupid idiot with loads of hands.
Users browsing this forum: No registered users and 1 guest