"FUNCTION IMPLEMENTATION AND DEFINTITION DIFFER" error
Posted: Sun Apr 10, 2011 2:35 am
Hello there! I'm new to scripting, and am currently on a crusade to get this script to compile. It's part of an NPC's user-defined script, and *should*, when it begins attacking a door, cause it to cease combat and initiate its conversation.
I'm probably making an obvious mistake. Here's that section of the script:
"Side_Ext" is the tag of the door to be attacked.
I'd greatly appreciate any advice.
I'm probably making an obvious mistake. Here's that section of the script:
Code: Select all
int GetIsFighting()
{
object oAttack = GetAttemptedAttackTarget();
object oSideDoor = GetObjectByTag("Side_Ext")
object oObjectToConverseWith = GetFirstPC();
if(oAttack = oSideDoor)
{
ClearAllActions(int nClearCombatState=TRUE)
ActionStartConversation(object oObjectToConverseWith, int bPrivateConversation=FALSE, int bPlayHello=TRUE)
}
else return
}
I'd greatly appreciate any advice.