The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Hypercube Offline
Member

Posts: 124
Threads: 20
Joined: Sep 2015
Reputation: 1
#1
Intro to mod

so it's your very basic and simple intro right, you start off trying to wake up, you can't move until the sequence is over. the only problem is that whenever I play my mod specifically in the modloader, I can move for some reason.

here's the script:
void OnStart()
{
Player_SetCrouching(true);
Player_SetActive(false);
Effect_Fade_Out(0.0f);
Map_AddTimer("T1", 1.5, "Intro");
Map_AddTimer("T2", 2.5, "Intro");
Map_AddTimer("T3", 4, "Intro");
Map_AddTimer("T4", 9, "Intro");
Map_AddTimer("T5", 16, "Intro");
Map_AddTimer("T6", 20, "Intro");
}

Is there anything wrong with what I did? Because I don't think player_setactive(false); should mean player_setactive(true);

It does work in debug mode, but I honestly have no idea what's going on here.
--------------------------------------------------
And now for some reason it won't let me play in debug because it couldn't load the map... the only changes i made was to add something to an automatic monster chase, it just takes a few steps into view, that's it.
(This post was last modified: 05-25-2016, 12:36 AM by Hypercube.)
05-25-2016, 12:00 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)