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
Can't DL HPL2
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#15
RE: Can't DL HPL2

The global.hps you can mostly ignore. It acts as a normal script file for all levels, except you can not call functions from across the level's hps file, so it's only really relevant for organizing your global variables or to use the OnGameStart() script, which can only be ran from there (and the inventory.hps file).

The inventory.hps file deals with inventoy related functions. I have a video on combining items in the inventory, where I use this file, so you can check that out.


I think you just run SetMessage on a normal SetEntityCallbackFunc (because that callback has a type for Pickup). Once you open the note, the level is frozen, so the script will not happen until you return to the level by closing the note.
IF it happens as you open it, you can trick it by adding a super short timer in between.

(This post was last modified: 04-21-2017, 07:37 AM by Mudbill.)
04-21-2017, 07:37 AM
Find


Messages In This Thread
Can't DL HPL2 - by Kimochii - 04-12-2017, 07:58 PM
RE: Can't DL HPL2 - by Romulator - 04-13-2017, 04:46 AM
RE: Can't DL HPL2 - by Kimochii - 04-13-2017, 12:22 PM
RE: Can't DL HPL2 - by FlawlessHappiness - 04-13-2017, 01:48 PM
RE: Can't DL HPL2 - by Romulator - 04-14-2017, 05:36 AM
RE: Can't DL HPL2 - by Kimochii - 04-14-2017, 09:01 AM
RE: Can't DL HPL2 - by Romulator - 04-14-2017, 10:48 AM
RE: Can't DL HPL2 - by Kimochii - 04-18-2017, 06:53 PM
RE: Can't DL HPL2 - by Mudbill - 04-18-2017, 08:22 PM
RE: Can't DL HPL2 - by Kimochii - 04-19-2017, 04:04 AM
RE: Can't DL HPL2 - by Mudbill - 04-19-2017, 01:38 PM
RE: Can't DL HPL2 - by Kimochii - 04-20-2017, 07:08 PM
RE: Can't DL HPL2 - by FlawlessHappiness - 04-20-2017, 11:31 PM
RE: Can't DL HPL2 - by Kimochii - 04-21-2017, 03:13 AM
RE: Can't DL HPL2 - by Mudbill - 04-21-2017, 07:37 AM



Users browsing this thread: 1 Guest(s)