Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yet another noob to the ranks
Chilton Offline
Member

Posts: 138
Threads: 9
Joined: Sep 2010
Reputation: 0
#2
RE: Yet another noob to the ranks

I dont see the problem, but try not to use as many // comments until after the script is written
The Custom Story .cfg may disfunction if you have anything in the wrong place, but otherwise it seems to be ok

void OnStart()
{
//Add the Lantern and 10 Tinderboxes when in Debug mode, always good to have light!
if(ScriptDebugOn())
{
GiveItemFromFile("lantern", "lantern.ent");

for(int i=0;i<10;i++) GiveItemFromFile("tinderbox_"+i, "tinderbox.ent");
}
}

That part - If this is your first map, try just

void OnStart()
{
GiveItemFromFile("lantern", "lantern.ent");
GiveItemFromFile("tinderbox", "tinderbox.ent");
}

I may have made a mistake on the tinderbox part, but its best if you draft scripts up yourself, and refer to other sources only to correct mistakes

ExtraEnglish is were all your text goes. Its were you name items, make messages, hints, etc pop up, where you make the credits, the story description, and so forth.

Post any further questions here if you need to
(This post was last modified: 12-03-2010, 04:11 AM by Chilton.)
12-03-2010, 04:10 AM
Find


Messages In This Thread
Yet another noob to the ranks - by Nitt - 12-03-2010, 02:56 AM
RE: Yet another noob to the ranks - by Chilton - 12-03-2010, 04:10 AM
RE: Yet another noob to the ranks - by Nitt - 12-03-2010, 04:25 AM
RE: Yet another noob to the ranks - by Dark88 - 12-03-2010, 05:23 AM
RE: Yet another noob to the ranks - by Chilton - 12-03-2010, 06:27 AM
RE: Yet another noob to the ranks - by Dark88 - 12-03-2010, 07:12 AM
RE: Yet another noob to the ranks - by Chilton - 12-03-2010, 07:20 AM
RE: Yet another noob to the ranks - by Som1Lse - 12-03-2010, 08:23 AM
RE: Yet another noob to the ranks - by Nitt - 12-03-2010, 08:32 AM
RE: Yet another noob to the ranks - by Som1Lse - 12-03-2010, 12:13 PM
RE: Yet another noob to the ranks - by Nitt - 12-03-2010, 05:12 PM
RE: Yet another noob to the ranks - by Som1Lse - 12-03-2010, 07:48 PM
RE: Yet another noob to the ranks - by Nitt - 12-04-2010, 07:00 AM
RE: Yet another noob to the ranks - by Akumasama - 12-04-2010, 09:44 AM
RE: Yet another noob to the ranks - by Nitt - 12-04-2010, 05:43 PM
RE: Yet another noob to the ranks - by Som1Lse - 12-04-2010, 05:50 PM
RE: Yet another noob to the ranks - by Akumasama - 12-05-2010, 11:27 AM
RE: Yet another noob to the ranks - by Som1Lse - 12-05-2010, 01:12 PM
RE: Yet another noob to the ranks - by Akumasama - 12-05-2010, 07:13 PM



Users browsing this thread: 1 Guest(s)