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
Script Help New Problem: SetEntityPlayerLookAtCallback
SilentStriker Offline
Posting Freak

Posts: 950
Threads: 26
Joined: Jul 2011
Reputation: 43
#7
RE: New Problem: SetEntityPlayerLookAtCallback

I would guess the If uses the functions alState

it should look like this

void Function(string &in asEntity, int alState)

{

if(alState == 1 && GetLocalVarInt("MonsterSpawned_1") == 1)

{

AddEnemyPatrolNode("Entity","PathNodeArea_4",1,"idle");

AddEnemyPatrolNode("Entity","PathNodeArea_5",0,"idle");

}

}

(This post was last modified: 03-14-2012, 03:07 PM by SilentStriker.)
03-14-2012, 03:01 PM
Find


Messages In This Thread
RE: New Problem: SetEntityPlayerLookAtCallback - by SilentStriker - 03-14-2012, 03:01 PM



Users browsing this thread: 2 Guest(s)