ID:180784
Feb 17 2001, 5:04 am
|
|
Hey anyone, I just wanted to know how do you use DblClick to click on another turf and not yourself. Its really agravated me that I can only use DblClick() on myself and not another mob or turf. Help anyone???
|
In response to Guy T.
|
|
On 2/17/01 7:13 am Guy T. wrote:
Oh, ok, I had put the DblClick() in my /mob/player. I guess I should place it in the mob or turf that I want to click on. Thanks! =) |
As far as I know, you should be able to do this just fine. Just remember that DblClick is defined for every type. So you could try something like this, to make a fast-paced, entertaining game where the player loses when he double-clicks a turf. :)
mob
DblClick()
usr << "You double-clicked on [src]!"
turf
DblClick()
usr << "You double-clicked on [src]! YOU LOSE!"
del usr