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
araphon1 Offline
Junior Member

Posts: 5
Threads: 2
Joined: Mar 2012
Reputation: 0
#8
RE: New Problem: SetEntityPlayerLookAtCallback

(03-14-2012, 03:01 PM)SilentStriker Wrote: 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");

}

}
Well, I tried that, but it still didn't work. The script doesnt seem to realize I am looking at the grunt, because he just stays there until I get aggo from staring at him.
03-14-2012, 03:18 PM
Find


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



Users browsing this thread: 1 Guest(s)