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 doesn't work?
Henriksen Offline
Senior Member

Posts: 308
Threads: 71
Joined: Dec 2010
Reputation: 2
#5
RE: Script doesn't work?

(10-25-2018, 02:57 AM)Abion47 Wrote: You might try moving the code into `OnEnter`. `OnStart` is for initialization stuff that happens the first time the game loads a particular map, while `OnEnter` is the one that fires when the map is loading the player into it.

Thanks, I got it working at last by including these:

#include "helper_custom_depth.hps"
#include "helper_custom_depth_ai.hps"
#include "helper_custom_depth_ai_leviathan.hps"

Thanks again Smile
10-25-2018, 08:05 PM
Find


Messages In This Thread
Script doesn't work? - by Henriksen - 10-24-2018, 05:45 PM
RE: Script doesn't work? - by Abion47 - 10-24-2018, 07:35 PM
RE: Script doesn't work? - by Henriksen - 10-24-2018, 07:52 PM
RE: Script doesn't work? - by Abion47 - 10-25-2018, 02:57 AM
RE: Script doesn't work? - by Henriksen - 10-25-2018, 08:05 PM



Users browsing this thread: 1 Guest(s)