This is of course on top of what Khris told you, I mean you still have to include the check if(party_members<3) before adding party members. (edited the code)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
//global outside functions
int party_members;
//hire button1 click
if(party_members<3)
{
party[0] = cNPC1;
party[0].ChangeRoom(2);
party_members++;
}
//hire button2 click
if(party_members<3)
{
party[1] = cNPC2;
party[1].ChangeRoom(2);
party_members++;
}
//hire button3 click
if(party_members<3)
{
party[2] = cNPC3;
party[2].ChangeRoom(2);
party_members++;
}
party[1].SetAsPlayer();
//global script outside functions
Character *party[10];
//global script end
export party;
//global script .ASH
import Character *party[10];
//button1_click
party[0] = cChar1;
//button2_click
party[1] = cChar2;
party[1].SetAsPlayer();
//hide others, changeview or changeroom
function parabolla_movement()
{
cBall.x = start_x;
while(cBall.x < final_x)
{
cBall.x++;
cBall.y = 2 * FloatToInt(Maths.RaiseToPower(IntToFloat(cBall.x), 2.0));
Wait(1);
}
}
Quote from: BaronI've tried to be very open thinking the more swarm members know the better the game will turn out
Quote from: TabataWhat powers are needed for Merrick (primarily physical or mental power) to do some interesting puzzles?
if(hotspot_active)
{
hotspot[1].Enabled = true;
}
player: blah
hotspot_active = true;
Quote from: HuddersI really don't think he should have any thing to do with being a marine. Robot vampire is good enough. If he's a marine, he needs to completely lose the costume which, in my opinion, is the best bit of the sprite right now.
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.068 seconds with 16 queries.