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

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

Hello!

Recently bought SOMA and have tried to get back into modding. I figured the scripting would be similar to the scripting in Amnesia, but I understand the language has changed somewhat. I have made a map and created a .hps file, but even the most basic functions doesn't seem to work. Another problem I'm having is having to restart the game in order for it to register the script having been changed.

I'll just put the script here since it's so short:


Quote:void Setup()
{

}

void OnStart()
{
cLux_AddDebugMessage("Hello.");
}

void OnEnter()
{

}

void OnLeave()
{

}


Thanks in advance
10-24-2018, 05:45 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)