ID:178185
Jun 11 2002, 3:14 pm
|
|
I need an example of a verb that will give all players that click the Challenge() verb an Attack verb , but only when the user accepts the challenge. I am not sure how to do this
|
Copyright © 2024 BYOND Software.
All rights reserved.
Well, to get started, you'd need to go over the challenge process. I guess it would be like this:
Because input() and alert() would get in the way of anyone who was challenged, I'd try a different approach, using links and/or verbs.
Now the rest of the dirty work: You need a verb to call the ExtendChallenge() proc, and client.Topic() to handle the links to accept it or decline. Verbs could be used for the latter too, but to do that you'll need a separate list keeping track of who has challenged you.
Lummox JR