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
Script Help Frustrating combination problem.
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#10
RE: Frustrating combination problem.

I had the same problem with the inventory.hps. So I did this. It basically checks if you don't have the copper tube and the hollow needle (which lefts with the code to check if you have the syringe instead or not). If you don't have a syringe either, it stops the script permanently. Until you give it a go again (with whatever puzzle youre trying to do).

if(!HasItem("copper_tube_1") && !HasItem("hollow_needle_1")){
        
        if(!HasItem("Syringe")){
            SetMessage("Ch03Lvl17", "NotEverythingNeeded", 0);
            return;
        }
        }
        RemoveItem("Syringe");
    
    //If player never combined the needle and copper tube
    RemoveItem("copper_tube_1");
    RemoveItem("hollow_needle_1");

I hope this is useful in any way.

Derp.
06-05-2014, 03:21 PM
Find


Messages In This Thread
Frustrating combination problem. - by Slanderous - 06-03-2014, 09:20 PM
RE: Frustrating combination problem. - by Mudbill - 06-03-2014, 11:51 PM
RE: Frustrating combination problem. - by Mudbill - 06-04-2014, 01:55 AM
RE: Frustrating combination problem. - by Mudbill - 06-05-2014, 01:54 PM
RE: Frustrating combination problem. - by Neelke - 06-05-2014, 03:21 PM



Users browsing this thread: 1 Guest(s)