Go to the Characters pane in the editor and select a character. Notice the box labelled "Talking color"? Put the number of the color you want for that character there.
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 MenuQuote from: ProgZmax on Fri 16/11/2007 13:41:37I think any system (be it online or whatever) that encourages people to publicly classify their level of friendship with other people is an inherently flawed and potentially destructive one. [...] The AGS forums are clearly superior due to our group hugs and vigorous back-pattings!
Quote from: TheJBurger on Thu 15/11/2007 23:42:52But that would just spoil the fun.
character[fishnumber].Walk(destinationx, destinationy);
}
fishnumber++;
}
}
}
#sectionend room_a // DO NOT EDIT OR REMOVE THIS LINE
character[fishnumber].Walk(destinationx, destinationy);
}
} //REMOVE THIS!
fishnumber++;
int count;
while (GetWalkableAreaAt (destinationx, destinationy) != 2) { //we're gonna randomize some coordinates but must make sure they're in the water (replace 3 with number of walkable area)
if (count > 100) { //if we've done 100 randomizations, screw it and just supply values that we know are inside the walkable area
destinationx = 150;
destinatyony = 130;
}
destinationx = 123 + Random(84); //Replace 123 with the leftmost x coordinate of the water area and 84 with the max width of the water area
destinationy = 102 + Random(57); //Replace 102 with top y coordinate of water area and 57 with max height of water area
count++;
}
character[fishnumber].Walk(destinationx, destinationy);
}
int fishnumber = 5; //the first fish in the sequence
while (fishnumber <= 9) { //this means that we run through all the fish before continuing the script
if (character[fishnumber].Moving == false) { //don't bother if fish is already moving
int destinationx;
int destinationy;
while (GetWalkableAreaAt (destinationx, destinationy) != 3) { //we're gonna randomize some coordinates but must make sure they're in the water (replace 3 with number of walkable area)
destinationx = 53 + Random(40); //Replace 53 with the leftmost x coordinate of the water area and 40 with the max width of the water area
destinationy = 60 + Random(35); //Replace 60 with top y coordinate of water area and 35 with max height of water area
}
character[fishnumber].Walk(destinationx, destinationy); //make the fish swim to the randomized coordinate
}
fishnumber++; //move on to the next fishie
}
if (IsGamePaused() == false) {
//put the previous code here
}
if (myOverlay.Valid) {
myOverlay.Remove;
UnpauseGame();
InventoryScreen();
}
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.157 seconds with 15 queries.