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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Newbie needs help! [SOLVED]
pwnvader360 Offline
Junior Member

Posts: 11
Threads: 3
Joined: Jan 2011
Reputation: 0
#4
RE: Newbie needs help!

(01-12-2011, 06:39 PM)Tottel Wrote: http://wiki.frictionalgames.com/hpl2/tut...y_tutorial

To see if it would work, I entered the script that gives the player a lantern on start, and...failure. Why is this. If thats not what the script does, then what DOES it do?

In case you need to know, heres the code:
////////////////////////////
// Run first time starting map
void OnStart()
{  
   GiveItemFromFile("lantern", "lantern.ent");

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

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}
01-12-2011, 06:45 PM
Find


Messages In This Thread
Newbie needs help! [SOLVED] - by pwnvader360 - 01-12-2011, 06:37 PM
RE: Newbie needs help! - by Tottel - 01-12-2011, 06:39 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 06:45 PM
RE: Newbie needs help! - by Seragath - 01-12-2011, 06:45 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 06:48 PM
RE: Newbie needs help! - by Tottel - 01-12-2011, 06:47 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 07:26 PM
RE: Newbie needs help! - by Seragath - 01-12-2011, 06:52 PM
RE: Newbie needs help! - by pwnvader360 - 01-12-2011, 07:45 PM
RE: Newbie needs help! - by Tottel - 01-12-2011, 07:45 PM
RE: Newbie needs help! - by Seragath - 01-12-2011, 08:34 PM
RE: Newbie needs help! - by pwnvader360 - 01-13-2011, 12:14 AM
RE: Newbie needs help! - by Seragath - 01-13-2011, 01:08 PM
RE: Newbie needs help! - by pwnvader360 - 01-13-2011, 06:21 PM



Users browsing this thread: 5 Guest(s)