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
Custom Story: OnStart Scripting Help
RurouniMori Offline
Junior Member

Posts: 11
Threads: 3
Joined: Apr 2013
Reputation: 0
#1
Custom Story: OnStart Scripting Help

First off, I apologize if this isn't the right subforum to post this here, just let me know if it isn't.

I'm trying to script it so that when the games starts, the Player's screen blurs and a message comes on the screen with it. Except that, admittedly, I know very little about C++ scripting so I've been learning as I go. So, I was just wondering how i need to script it to make this 'event' happen. This is what I have:

Quote:////////////////////////////
// Run when entering map
void OnEnter()
{
OnStart(FadeRadialBlurTo(5, 5.0f);
SetMessage("Narration","startmessage",5.0f);
}
void OnStart(string &in asEntity)

If someone could please let me know how I'm supposed to properly void after and maybe some tips for coding, along with what I need to fix this, that would be wonderful. Thank you!
04-04-2013, 08:58 PM
Find


Messages In This Thread
Custom Story: OnStart Scripting Help - by RurouniMori - 04-04-2013, 08:58 PM



Users browsing this thread: 1 Guest(s)