reper1210
Junior Member
Posts: 18
Threads: 7
Joined: Mar 2012
Reputation:
0
|
Need help with scripting
I want to add the following effect into this script but im not sure how to do it.
void FadePlayerRollTo(float afX, float afSpeedMul, float afMaxSpeed);
I dont know if it requires its own string or if i can put it with something. and for future reference should i be posting this question somewhere else?
////////////////////////////////////////////////////////////////
void OnStart()
{
SetEntityPlayerInteractCallback("key_laboratory_1", "ActivateMonster", true);
AddUseItemCallback("OpenDoor", "key_laboratory_1", "level_hub_1", "UnlockLevelDoor", true);
}
void OnEnter()
{
}
void OnLeave()
{
}
void ActivateMonster(string &in item)
{
SetEntityActive("servant_brute_1", true);
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_1", 0, "Idle");
AddEnemyPatrolNode("servant_brute_1", "PathNodeArea_2", 0, "Idle");
}
void UnlockLevelDoor(string &in item, string &in entity)
{
SetLevelDoorLocked(entity, false);
}
|
|
01-15-2013, 10:11 PM |
|