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 Error
Hungerzz Offline
Junior Member

Posts: 10
Threads: 2
Joined: Mar 2014
Reputation: 0
#1
Custom Story Error

Hello guys,can you show me how to fix this problem? Here is the script
--------------------------------------------------------------------
19 void AddEntityCollideCallback("PlayerStop", "", "SetPlayerActive", "", 1);
20
21 void SetPlayerActive(false);
22 {
23 StartPlayerLookAt("Grunt", 5.0f, 5.0f, "AddTimer");
24 AddTimer("", 5.0f, "StartWalk");
25 }
26 void StartWalk(string &in asTimer)
27 {
28 SetPlayerActive(true);
29 StopPlayerLookAt();
30 }
------------------------------------------------------------------
And then this error shows up when i start the map :

main(22,1) ERR: Unexpected token '{'

-------------------------------------------------------
I'm trying to make player stop and look at monster for 5 seconds,and then walk again after 5 seconds.
03-23-2014, 10:45 AM
Find


Messages In This Thread
Custom Story Error - by Hungerzz - 03-23-2014, 10:45 AM
RE: Custom Story Error - by 7heDubz - 03-23-2014, 10:50 AM
RE: Custom Story Error - by Romulator - 03-23-2014, 10:50 AM
RE: Custom Story Error - by Hungerzz - 03-23-2014, 10:54 AM
RE: Custom Story Error - by Romulator - 03-23-2014, 10:57 AM
RE: Custom Story Error - by Hungerzz - 03-23-2014, 11:07 AM
RE: Custom Story Error - by Romulator - 03-23-2014, 11:10 AM
RE: Custom Story Error - by Hungerzz - 03-23-2014, 11:11 AM
RE: Custom Story Error - by 7heDubz - 03-23-2014, 11:21 AM
RE: Custom Story Error - by Romulator - 03-23-2014, 12:01 PM
RE: Custom Story Error - by Hungerzz - 03-23-2014, 03:17 PM
RE: Custom Story Error - by Straxedix - 03-23-2014, 08:27 PM
RE: Custom Story Error - by Romulator - 03-23-2014, 08:57 PM
RE: Custom Story Error - by 7heDubz - 03-24-2014, 04:00 AM
RE: Custom Story Error - by Hungerzz - 03-25-2014, 04:31 PM



Users browsing this thread: 1 Guest(s)