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
Lantern Question
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#5
RE: Lantern question

(10-03-2013, 05:31 PM)Oscar House Wrote: Add a line of code in the map's .hps file that gives you a lantern at the start of the map.

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

thanks for that :3

EDIT: Well it seems like theres already code for the lanter in the .hps file(s)
if(ScriptDebugOn())
        {
            //SetFogProperties(0, 75, 1, false);
            GiveItemFromFile("lantern", "lantern.ent");
for the stuff that i understand of coding it seems like it should already give me the lantern if debug mode is on. Weird.

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 10-03-2013, 07:12 PM by RaideX.)
10-03-2013, 07:06 PM
Find


Messages In This Thread
Lantern Question - by RaideX - 10-03-2013, 03:07 PM
RE: Lantern question - by WALP - 10-03-2013, 04:07 PM
RE: Lantern question - by RaideX - 10-03-2013, 04:43 PM
RE: Lantern question - by Oscar House - 10-03-2013, 05:31 PM
RE: Lantern question - by RaideX - 10-03-2013, 07:06 PM
RE: Lantern Question - by Your Computer - 10-03-2013, 07:41 PM
RE: Lantern Question - by WALP - 10-03-2013, 10:00 PM
RE: Lantern Question - by Robby - 10-04-2013, 07:24 AM
RE: Lantern Question - by Romulator - 10-04-2013, 09:16 AM
RE: Lantern Question - by RaideX - 10-04-2013, 09:34 AM



Users browsing this thread: 1 Guest(s)