Posted February 25, 2014
I'm trying to write a script that will make a character the player talks to run to another character. My code, though, throws a Declaration does not match parameters compile error each time. Any help would be greatly appreciated.
void main()
{
// Give the speaker some XP
RewardPartyXP(50, GetPCSpeaker());
// Set the variables
SetLocalInt(OBJECT_SELF, "nFirstTimeTalked", 1);
//Run to Falstadd
object oMiner = GetObjectByTag("ct_Miner", 1);
AssignCommand(oMiner, ActionMoveToObject("ct_Falstadd", TRUE, 1)); (error occurs here)
}
void main()
{
// Give the speaker some XP
RewardPartyXP(50, GetPCSpeaker());
// Set the variables
SetLocalInt(OBJECT_SELF, "nFirstTimeTalked", 1);
//Run to Falstadd
object oMiner = GetObjectByTag("ct_Miner", 1);
AssignCommand(oMiner, ActionMoveToObject("ct_Falstadd", TRUE, 1)); (error occurs here)
}
Post edited February 25, 2014 by Untraceable93
This question / problem has been solved by Hickory
