lizardrock17
Junior Member
Posts: 20
Threads: 3
Joined: Jun 2013
Reputation:
0
|
RE: Weeping Angel enemies
void OnStart()
{
SetEntityPlayerLookAtCallback("servant_grunt_1", "WeepingAngel_1", false);
}
void WeepingAngel_1(string &in asEntity, int alState)
{
if(alState == 1)
{
SetEnemyDisabled("servant_grunt_1", bool abDisabled);
}
else if(alState == -1)
{
SetNPCAwake("servant_grunt_1", bool abAwake, bool abEffects);
ShowEnemyPlayerPosition("servant_grunt_1");
}
}
So i have created this code so that the grunt acts like a weeping angel. But when i try to test this i get an error and the solution that comes with the error doesnt help. Can someone telll me what i did wrong.
(This post was last modified: 06-21-2013, 12:47 AM by lizardrock17.)
|
|
06-21-2013, 12:45 AM |
|