- Joined
- Sep 9, 2015
- Messages
- 656
- Reaction score
- 857
- First Language
- English
- Primarily Uses
- N/A
So I'm using VX ACE, and I am working with a tutorial on youtube for method arguments. I did exactly as it said, and I am getting an error.
so for the method, I used:
def Rome_Diplomacy (status, taxes, enemy) msgbox_p(status)
msgbox_p(taxes)
msgbox_p(enemy)
end
then I did a method call
Rome_Diplomacy (false, 30, "none")
when I execute the script it says unexpected ',' expecting a ')' for the call of method.
I did what the tutorial said to do, and its giving me this error for some reason.
so for the method, I used:
def Rome_Diplomacy (status, taxes, enemy) msgbox_p(status)
msgbox_p(taxes)
msgbox_p(enemy)
end
then I did a method call
Rome_Diplomacy (false, 30, "none")
when I execute the script it says unexpected ',' expecting a ')' for the call of method.
I did what the tutorial said to do, and its giving me this error for some reason.
Last edited by a moderator:
