Thread: [PI] Castle wars

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 [PI] Castle wars 
    Registered Member
    Join Date
    Apr 2011
    Posts
    146
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    How do I make it when you kill someone in there you get a castle war ticket, not sure
    how it works but it deals with the death of player thing.
    Reply With Quote  
     

  2. #2  
    Dr. Jaegon


    Join Date
    Sep 2011
    Posts
    2,132
    Thanks given
    407
    Thanks received
    441
    Rep Power
    2559
    What like when the game is over or what?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2011
    Posts
    146
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    In the game.
    Reply With Quote  
     

  4. #4  
    Dr. Jaegon


    Join Date
    Sep 2011
    Posts
    2,132
    Thanks given
    407
    Thanks received
    441
    Rep Power
    2559
    Idk how you have it setup but I will outline it for you.

    In applydeath I think do something like;

    Code:
    if(c.inCW()) {
    points += 1;
    }
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2011
    Posts
    146
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    So how can I make it when you get killed in castle wars you lose points?
    Reply With Quote  
     

  6. #6  
    Dr. Jaegon


    Join Date
    Sep 2011
    Posts
    2,132
    Thanks given
    407
    Thanks received
    441
    Rep Power
    2559
    Same concept. but in givelife

    do
    Code:
    points -= 1;
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Mar 2011
    Posts
    574
    Thanks given
    2
    Thanks received
    64
    Rep Power
    235
    Also.. Wouldn't that be really stupid, because level 126's will fight lower levels and then the lower levels will get minus points.


    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Apr 2011
    Posts
    146
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    Hmm, do you know how to npcs attack people that aren't wearing a certain item though?
    Reply With Quote  
     

  9. #9  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    Code:
    if (npcs[i].npcType == # && c.playerEquipment[c.playerWhatever] != #)
    		return true;
    something like this in the isaggressive int in npchandler
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Apr 2011
    Posts
    146
    Thanks given
    7
    Thanks received
    1
    Rep Power
    1
    How can I make it so that when you attack a npc you get token (not item but the character file ones) for it? You don't have to hit the highest, just attack it.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 40
    Last Post: 06-27-2010, 04:45 PM
  2. Replies: 9
    Last Post: 06-13-2010, 12:41 PM
  3. Replies: 6
    Last Post: 04-12-2010, 11:46 AM
  4. Replies: 63
    Last Post: 05-20-2008, 06:32 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •