lizardrock17
Junior Member
Posts: 20
Threads: 3
Joined: Jun 2013
Reputation:
0
|
RE: Weeping Angel enemies
Ok peoplz I have some success. For one I got the script working (apparently the true or false needs a parenthesis around it). Now I got to figure out how to make it instantaneous because when i look at the grunt it takes a little while for it to freeze. But other than that the script works. Can anyone help me with that problem. The finished script is below.
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 (true));
}
else if(alState == -1)
{
SetEnemyDisabled("servant_grunt_1", bool (false));
ShowEnemyPlayerPosition("servant_grunt_1");
}
}
(This post was last modified: 06-21-2013, 03:41 PM by lizardrock17.)
|
|
06-21-2013, 02:59 PM |
|