00:00
00:00
Letiger
Will all of yous kindly fuck up?

Aira @Letiger

Age 27, Female

Here

Joined on 8/6/07

Level:
22
Exp Points:
5,366 / 5,380
Exp Rank:
8,609
Vote Power:
6.43 votes
Rank:
Pvt. First Class
Global Rank:
2,933
Blams:
301
Saves:
2,718
B/P Bonus:
20%
Whistle:
Gold
Medals:
653

The first rule of sales.

Posted by Letiger - September 26th, 2010


I hope you learn.

The first rule of sales.


Comments

Yes.

lesbiantiger

Well, dude, you forgot a few things. First of all, it's just one small while statement. That will only check once, then it will continue execution of the rest of the code, and since there's no more code, nothing will happen after the first time the first customer says yes. To get around this, let's put it in an ENTER_FRAME event, shall we? You've also added a few useless things, and forgot to define you and your customer. Also, response should be a property, not a function, so take out the (). Here's the final code:
addEventListener(Event.ENTER_FRAME, OEF);
var customer = getCustomer();
var me:Person = new Person(letiger);

function OEF(e):void{
while(customer.response() != "NO"){
me.pester(customer);
}
}

Wow, thanks.