Vampire and Human -> RE: Flash Q&A Thread 5 - Flash Sold Its Shares In Your Soul... Recession (6/6/2009 14:11:56)
|
Ummm... Here: ambitions = 9000
if(ambitions >= 9000){
trace("It's over 9000!")
trace("try something simpler")
jw.unexperienced = true
}
if(jw.unexperienced){
jw.shouldtrydifficultylevel = "basic"
} Gah its contagious.... Anyways, no, thats not the proper code, but try it anyways. If you can't to hitTest, you most certainly cannot do something with "...Accoutns And Stuff,..." Try for something simpler, like a onetime maze-game. Not everything needs accounts. Simple things amuse simple minds, A.K.A 1/2 of population :3. Btw, please do NOT copy this code, even though you're probably going to anyways regardless of what I tell you. This is for learning purposes only, and will not really function properly. if(thingy.hitTest(otherthingy)){
dosomething()
makevariable = "something"
numbervalue = 1337
trace("BLAHBLAHBLAH")
} What it means is, if thingy one hitTests/touches the otherthingy, it does... something. Pretty much anything you want. Super simple. Nothing to it, really. Edit: WAIT WAIT WAIt WAit Wait wait wait wait wait wait wait waaaiiittttuh,.... Since when did minigames have accounts? Que? Mah? What? Was? Che? Hva ?
|
|
|
|