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
ShowEnemyPlayerPosition "" is not delcared
Rapture Offline
Posting Freak

Posts: 1,078
Threads: 79
Joined: May 2011
Reputation: 30
#1
ShowEnemyPlayerPosition "" is not delcared

I am copying this from the 2nd map from Justine. I'm not really sure what it means by.

"FATAL ERROR: Could not load script file 'custom_stories/Map05/Ch01/map05.hps'! main (248, 26) : ERR : 'servant_brute_1' is not declared

Where do I declare it and how?
void Enemy1Patrol(string &in asTimer)
{
    SetEntityActive("servant_brute_1", true);
    ShowEnemyPlayerPosition(servant_brute_1);    
//    AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_25", 1.0f, "");
//    AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_26", 0.0f, "");
}
(This post was last modified: 07-21-2011, 08:41 PM by Rapture.)
07-21-2011, 07:16 PM
Find


Messages In This Thread
ShowEnemyPlayerPosition "" is not delcared - by Rapture - 07-21-2011, 07:16 PM



Users browsing this thread: 1 Guest(s)