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
setentityactive is not working?
liamthespy Offline
Junior Member

Posts: 26
Threads: 10
Joined: Jun 2012
Reputation: 0
#1
setentityactive is not working?

AddEntityCollideCallback("Player", "delusiontrigger_1", "delusionfunction_1", true, 1);



void delusionfunction_1(string &in asEntity, string &in type)
{
SetEntityActive("delusion_2", true);
ShowEnemyPlayerPosition("delusion_2");
}

those are the relevant parts of my code, but only the showenemyplayerposition part is taking affect, any ideas? I've triple checked the names on the entities
(This post was last modified: 06-17-2012, 12:00 AM by liamthespy.)
06-16-2012, 11:54 PM
Find


Messages In This Thread
setentityactive is not working? - by liamthespy - 06-16-2012, 11:54 PM
RE: setentityactive is not working? - by Adny - 06-17-2012, 12:45 AM



Users browsing this thread: 1 Guest(s)