Code: Select all
public void ActivateTheGunner()
{
//Activating DA Gunner
}
I'm using a script trigger object in map editor to trigger the method, it says this error
Script Error
Can't find method 'ActivateTheGunner()' in map script. Expecting:
public void ActivateTheGunner()(TriggerArgs)
{
}
but when I'm using the object itself to trigger the method, it says
Script Error
Can't find method 'ActivateTheGunner()' in map script. Expecting:
public void ActivateTheGunner()(CreateTriggerArgs)
{
}
In the script method for the object in map editor, ive tried both 'ActivateTheGunner()" and 'ActivateTheGunner", Neither one works and I can assure you its not a spelling mistake... So I'm guessing my problem has to do with the games concept of triggers, If it does please tell me what triggers are and what they are used for and what I'm doing wrong here , else if triggers aren't my problem, you can still tell me what triggers are if you want (Please) and please tell me a way to fix my problem.
Thanks