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
Intro to mod
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#2
RE: Intro to mod

First thing, when you have a series of timed interactions that you want to activate, it's easier and more reliable to use a Sequence rather than a series of map timers.

As far as the player function goes, try moving it to the OnEnter map function instead of OnStart. OnStart only runs once when the map is first initialized, at which point the player entity may or may not yet exist. OnEnter runs every time when the map is loaded, at which point it can be safely assumed that the player entity has been created by the engine.
05-25-2016, 01:50 AM
Find


Messages In This Thread
Intro to mod - by Hypercube - 05-25-2016, 12:00 AM
RE: Intro to mod - by Abion47 - 05-25-2016, 01:50 AM
RE: Intro to mod - by Hypercube - 05-25-2016, 09:28 PM
RE: Intro to mod - by WALP - 05-25-2016, 02:12 AM
RE: Intro to mod - by Abion47 - 05-25-2016, 09:56 PM
RE: Intro to mod - by Daemian - 05-25-2016, 10:00 PM
RE: Intro to mod - by Hypercube - 05-26-2016, 01:20 AM
RE: Intro to mod - by Abion47 - 05-26-2016, 01:42 AM
RE: Intro to mod - by Hypercube - 05-26-2016, 04:14 AM
RE: Intro to mod - by Daemian - 05-26-2016, 03:04 AM
RE: Intro to mod - by Abion47 - 05-26-2016, 04:33 AM
RE: Intro to mod - by Daemian - 05-26-2016, 06:43 AM
RE: Intro to mod - by Abion47 - 05-26-2016, 08:08 AM
RE: Intro to mod - by Hypercube - 05-27-2016, 12:34 AM
RE: Intro to mod - by Hypercube - 05-30-2016, 10:30 PM
RE: Intro to mod - by Abion47 - 05-31-2016, 12:23 AM
RE: Intro to mod - by Daemian - 05-31-2016, 02:32 AM
RE: Intro to mod - by Hypercube - 06-06-2016, 12:32 AM
RE: Intro to mod - by Daemian - 06-06-2016, 10:27 PM
RE: Intro to mod - by Abion47 - 06-06-2016, 11:01 PM
RE: Intro to mod - by Hypercube - 06-06-2016, 11:58 PM
RE: Intro to mod - by Abion47 - 06-07-2016, 04:48 AM
RE: Intro to mod - by Hypercube - 06-07-2016, 05:41 AM
RE: Intro to mod - by Hypercube - 06-09-2016, 12:13 AM
RE: Intro to mod - by Hypercube - 06-10-2016, 09:50 PM



Users browsing this thread: 1 Guest(s)