Um i'm having a bit of an issue here. Whenever I call Hero_1, Hero_2, and Hero_3, they all come up and after a while, Hero_1 and Hero_2 go down and Hero_3 stays up. What am I doing wrong?
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
The problem with yours is that you keep reassigning $window so that when you dispose $window, only Hero_3 is diposed so we have to make three seperate windows and dispose all three seperately.
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Do you want the first and second windows to go away or is it a matter of whether a switch is on or not. So basically, when a switch is on, do you want the windows to pop up and if the switch is off, you want the windows to go away?
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: +Gold Member
Posts: 1,199
Type: Scripter
RM Skill: Undisclosed
Who say a scripter cant post homework? XD I always hate it when there's a hud that just get's in the way. you cant make it disappear, or to do so you have to press some key that you forget to do, and it's even worse when the HUD blocks an item or something important.
So I decided to make the window and cause it's opacity to auto-correct if the player is being obscured by it. (i didnt decorate it much, but hey, the opacity auto adjusts!) great tutorial, law.
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One
Group: Local Mod
Posts: 1,348
Type: Scripter
RM Skill: Skilled
Rev Points: 5
Alright, I think I figured it all out. First of all, make a new common event called 3 Man Stats[ON]. Set the trigger to none and inside this common event, go to page three of the list of event commands and go down to 'Script' to copy this code in:
After that, make and turn on a conditional switch named 3 Man Stats so that your common event should look like this:
CODE
$window1 = Hero_1.new $window2 = Hero_2.new $window3 = Hero_3.new Control Switches: [0001: 3 Man Stats] = ON
Next, make the event on the map that allows you to see your stats. Just make an event and go to the first page of the list of event commands and pick Call Common Event and pick the common event we just made.
Finally, make the event that disposes of the windows. Open up the event and make a new event page that turns on if the 3 Man Stats Switch is on. In this new event page, put in a script event command that looks like this:
"When you first come, no one knows you. When help them out, they all know you. When you leave, they all love you. When you come back, they've already forgotten you." -- copy into your sig if you think this quote speaks true!
If you are one of the very few teenagers that know what real rap is and don't blindly listen to the hate statements (rap is crap), then put this in your sig. I say this in the name of Common, Mos Def, Lupe Fiasco, 2Pac, Nas, Talib Kweli, Eminem, and many others. -Exiled One