Quote from: bicilotti on Tue 15/02/2011 10:12:03Now I catch where all these spambots come from!
feel free to abuse the wiki
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: bicilotti on Tue 15/02/2011 10:12:03Now I catch where all these spambots come from!
feel free to abuse the wiki
Quote- Implemented lazy evaluation for && and || operators.
function region2_WalksOnto() {
if (player.HasInventory(ikey1) && player.HasInventory(ikey2)) {
if (Game.DoOnceOnly("have both keys already")) {
cSlocombe.FaceLocation(188, 270);
cFrankj.FaceCharacter(cSlocombe);
cSlocombe.Say( "Hey uncle. I've found 2 Key pieces!!");
cFrankj.Say("That's absolutely splendid my dear boy!");
cSlocombe.Say("And I've fixed the water");
cFrankj.Say("You're a marvel Morgan");
cSlocombe.Say("Oh, and the electrics are working now");
cFrankj.Say("Jolly good");
cFrankj.Say("Let me know when you have found more Key pieces. I'm really tired today!");
cFrankj.Say("I'm going back to bed");
cSlocombe.Say("Ok uncle");
cFrankj.Walk(532, 140, eBlock);
cFrankj.Transparency=100;
cSlocombe.Say("Well, guess I should look around in the house some more");
//region[2].Enabled = false; //comment this out if you don't want to disable it.
region[3].Enabled = true;
}
}
}
Quote from: Dualnames on Thu 10/02/2011 05:00:51If that's already a module in the first place, do you need to re-modularise it?
Scorpiorus made an FPS module. I just modularized(?) it.
Helmet.y = player.y-(player.Scaling*60)/100;
if (player==Dave){
blah bla
} else if (player==chris){
blah bla bla
} else ... etc.
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 2.071 seconds with 15 queries.