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
[SOLVED]Strange script problem
ide Offline
Junior Member

Posts: 20
Threads: 3
Joined: Oct 2010
Reputation: 0
#1
[SOLVED]Strange script problem

This is quite strange problem. I have simple interaction callback with door that activates a grunt. But for some reason the grunt is activated even when I interact with completely different door that doesn't have a callback.
basically what I did was:
I add this to the door I want to set the callback on:
[Image: b3626c6cc03450eccd20ec403daeadeb5g.jpg]

Then wrote the code bellow:
void doorgrunt(string &in entity){
SetEntityActive("1doorgrunt", true);
AddEnemyPatrolNode("1doorgrunt", "PathNodeArea_7", 5, "");
AddEnemyPatrolNode("1doorgrunt", "PathNodeArea_24", 0, "");
}
10-13-2010, 02:22 PM
Find


Messages In This Thread
[SOLVED]Strange script problem - by ide - 10-13-2010, 02:22 PM
RE: Strange script problem - by Frontcannon - 10-13-2010, 02:26 PM
RE: Strange script problem - by ide - 10-13-2010, 02:44 PM
RE: Strange script problem - by Frontcannon - 10-13-2010, 03:56 PM
RE: Strange script problem - by Entih - 10-13-2010, 03:17 PM
RE: Strange script problem - by ide - 10-13-2010, 03:57 PM
RE: Strange script problem - by Entih - 10-13-2010, 04:02 PM
RE: Strange script problem - by ide - 10-13-2010, 04:05 PM
RE: Strange script problem - by SLi78 - 10-13-2010, 04:42 PM
RE: Strange script problem - by Entih - 10-13-2010, 04:30 PM
RE: Strange script problem - by ide - 10-13-2010, 05:43 PM
RE: Strange script problem - by SLi78 - 10-13-2010, 06:04 PM
RE: Strange script problem - by ide - 10-13-2010, 06:24 PM



Users browsing this thread: 1 Guest(s)