Thread: How to make a multizone? ++Rep FOr Help

Results 1 to 2 of 2
  1. #1 How to make a multizone? ++Rep FOr Help 
    Banned

    Join Date
    Jul 2009
    Posts
    3,999
    Thanks given
    1,003
    Thanks received
    1,028
    Rep Power
    0
    Need a multi zone, im not sure how to make because i forgot.

    DELTA/
    Reply With Quote  
     

  2. #2  
    Icy Realm Owner
    Icy Whip's Avatar
    Join Date
    May 2007
    Posts
    1,419
    Thanks given
    30
    Thanks received
    35
    Rep Power
    213
    make a void something like this

    Code:
    Public boolean inmulti() 
    	{
    		return (absX >= lowestxvalye && absX <= highestxvalue && absY >= lowestyvaley && absY <= highestyvalue);
    }
    then in something simple like process()

    Code:
    		if(inmulti()) {		
    outStream.createFrame(61);
    				outStream.writeByte(2);
    }
    Of course you will have to implement your inmulti() boolean into your attacknpc voids/cases and your attackplayer voids/cases to get the effect to work, that is just a simple deal to it.


    Signature made by Mr. Ervis

    Any questions, MSN me; [email protected]
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •