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
DONE - script not working pls help
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#2
RE: script not working pls help

I'm pretty sure you can't put SetPlayerLampOil there. Move it under the GiveItemFromFile script. Like this:

GiveItemFromFile("lantern", "lantern.ent");
SetPlayerLampOil(100.0f);

Also you don't really need the setplayerlampoil. It is already full when you start the game.

If that is not the problem, try to put the GiveItemFromFile with tinderboxes like this instead:

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

Everything else seems to be just fine. If these are not the issues, I have no idea.
(This post was last modified: 09-15-2013, 01:55 PM by Neelke.)
09-15-2013, 01:54 PM
Find


Messages In This Thread
RE: script not working pls help - by Neelke - 09-15-2013, 01:54 PM
RE: script not working pls help - by boghinovel - 09-15-2013, 02:13 PM
RE: script not working pls help - by boghinovel - 09-15-2013, 02:33 PM
RE: script not working pls help - by boghinovel - 09-15-2013, 03:22 PM



Users browsing this thread: 3 Guest(s)