| Chilton   Member
 
 Posts: 138
 Threads: 9
 Joined: Sep 2010
 Reputation: 
0
 | 
			| 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 writtenThe 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 |  |