If I grandmother played adventure games I'd switch to her ginkoba...
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
bool doorlocked = true;
if (cEgo.ActiveInventory == ikey) {
doorlocked = false:
Display ("The door is unlocked");
cEgo.LoseInventory(ikey);
}
if (doorlocked == true) {
Display ("The door is locked");
}
else if (doorlocked == false) {
cEgo.ChangeRoom(x);
}
Quote
// room script file
Overlay *ovredguard; //overlay for the red guard
Overlay *ovblackguard; // overlay for the black guard
Overlay *ovgirlguard; //overlay for the female guard
import bool guardstalking; //importing the varible to see if they are talking or interrupted
bool backstart = true; // the variable to make the conversation loop
Quote
function room_c() {
// script for Room: Repeatedly execute
if ((guardstalking == true) && (backstart == true)) { //not interupted and starting from the beginning
ovredguard = cTguardr.SayBackground("Blah"); //Red speaks into his overlay
backstart = false; //restart varible is shut off
SetTimer (1, 120); // timer for the first speech is set
}
if ((IsTimerExpired(1)) && (guardstalking == true)) { //after done speaking
ovredguard.Remove(); //Red's overlay disappears
ovblackguard = cTguardb.SayBackground ("Oh yeah?"); //Black Speaks
SetTimer (2, 120); //timer for this speech is set
}
if ((IsTimerExpired(2)) && (guardstalking == true)){ // same as above
ovblackguard.Remove();
ovgirlguard = cTguardg.SayBackground ("Yeah.");
SetTimer (3, 120);
}
if ((IsTimerExpired(3)) && (guardstalking == true)) {// the timer for the last speech is done
ovgirlguard.Remove();// the last overlay is removed
backstart = true; // the restart variable begins the loop again
}
if (guardstalking == false) {//and if anything interrupts it, the loop is broken
cTguardb.FaceLocation(0,200,eBlock);// any reaction to the interruption
cTguardg.FaceLocation(0,200,eBlock);
cTguardr.FaceLocation(0,200,eBlock);
}
}
Quote from: Ghost on Fri 12/10/2007 18:40:28Quote from: quixotecoyote on Fri 12/10/2007 16:57:19
1. The substance of the use is transformative, not derivative.
2. Only an insubstantial part of any given work is being used.
3. No effect on the potential market of the original work
4. No commercial intent.
Thin ice that should be avoided. Because you could, on your fact, say that it is okay for me to use the character Lara Croft in an adventure game of my own if I use only a few of her walkcycle frames (or, indeed, only her name) and release said game for free. Sounds pretty unlikely that nobody would object if I did, though.
Quote from: InCreator on Fri 12/10/2007 15:58:55QuoteBesides, what's the difference between taking the backgrounds from the resources page and yanking them out of King of Fighters?
Take a look at both and ask again.
If that's what you intended to do, I seriously suggest not to.
Quote from: Radiant on Fri 12/10/2007 14:43:20
There are a few packs of free graphics available on the resources page. That might help.
Quote from: Ashen on Fri 12/10/2007 10:42:47
Also, since the functions now have relevant names (Room_Load, oDoor_Interact as opposed to room_a, object2_f, etc) it's actually far easier to find things purely in the script, without using the Events menu. I can't find a way to jump to a specific part of the Global script, though (as used to be in the 'Script' menu) - is that gone, or just not where I've looked?
Maybe it's wrong, but I had to smile at the death of the Interaction Editor...
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.070 seconds with 13 queries.