Soo...that's the code right?

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 Menuint use;
use=1;
while(use<x){//replace x with number of items
if(character[GetPlayerCharacter()].inv[use]>1){
character[GetPlayerCharacter()].inv[use]=1;
}
use++
}
UpdateInventory();
StartCutscene (1);
Display ("Once, a long time ago...");
Display ("There was a boy, a poor one at that.");
Display ("He lived on the oceans coast, away from the town.");
Display ("He wasn't happy, and had very little friends.");
Display ("But, he had one dream.");
Display ("To become the greatest Pimp the world will ever know.");
Display ("His father had died trying, so he knew he must carry it on.");
Display ("He worked for day after day, year after year.");
Display ("Then, finally. His dream had come true.");
Display ("He soon had more money, power and fame than most could imagine.");
Display ("The Pimp settled down, married and had a son.");
Display ("This son is you.");
Display ("..but hidden to your family.");
Display ("..there are dark forces looming to gain your fathers riches");
Display ("They will do anything they can to gain his power...even kill.");
Display ("You wake up one day, and you hear a noise...");
Display ("And so begins Pimps at Sea!");
EndCutscene ();
NewRoom(1); //Work Damnit
Quote from: jetxl on Thu 14/10/2004 14:16:16
No, you have to place the code in the room where you want the intro to start.Code: ags // script for room: First time player enters screen character[GetPlayerCharacter()].x=350; //charac start at x350 character[GetPlayerCharacter()].y=120; //charac start at y120 MoveCharacterBlocking(GetPlayerCharacter(),160,120,1); //let character walk on screen FaceLocation(GetPlayerCharacter(),160,1000); //face screen DisplaySpeech(GetPlayerCharacter(),"I'm here to infotain you."); //character says something MoveCharacterBlocking(GetPlayerCharacter(),20,120,1); //character walks to the left DisplaySpeech(GetPlayerCharacter(),"Oh, I can't go this way."); //say something DisplaySpeechBackground(GetPlayerCharacter(),"Then I'll go that way."); //talk while walking MoveCharacterBlocking(GetPlayerCharacter(),160,120,1); //walk MoveCharacterBlocking(GetPlayerCharacter(),160,250,1); //walk of screen
Try to explain what you want to do in the intro.
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.047 seconds with 16 queries.