- Joined
- Jul 7, 2016
- Messages
- 4
- Reaction score
- 0
- First Language
- English
- Primarily Uses
So I'm fairly new to this whole RPG maker thing, and I tried putting a script in my game- nothing too big, just something that would let
you have balloon icons pop up over your followers' heads. But when I try using it in an event, I always get the error:
Script 'Game_Interpreter' line 1411: SyntaxError occurred.
unexpected tINTEGER, expected ')'
def balloon_followers(0,0)
This is the script
class Game_Interpreter
def balloon_followers(index, balloon)
character = $game_player.followers[index]
if character
character.balloon_id = balloon
end
end
end
And this is the link to the place where I got the script from:
http://www.rpgmakercentral.com/topic/22701-balloon-icon-on-followers/
And basically I just copied that into an event thing and replaced index, balloon with 0,0.
So, uh, could someone tell me what I'm doing wrong?
you have balloon icons pop up over your followers' heads. But when I try using it in an event, I always get the error:
Script 'Game_Interpreter' line 1411: SyntaxError occurred.
unexpected tINTEGER, expected ')'
def balloon_followers(0,0)
This is the script
class Game_Interpreter
def balloon_followers(index, balloon)
character = $game_player.followers[index]
if character
character.balloon_id = balloon
end
end
end
And this is the link to the place where I got the script from:
http://www.rpgmakercentral.com/topic/22701-balloon-icon-on-followers/
And basically I just copied that into an event thing and replaced index, balloon with 0,0.
So, uh, could someone tell me what I'm doing wrong?

