Thread: [PI] Spawn portel when boss die

Results 1 to 9 of 9
  1. #1 [PI] Spawn portel when boss die 
    Registered Member
    Join Date
    Apr 2010
    Posts
    76
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Hello,

    Im trying to make Floor 1 of Dungeoneering.

    I want to make something like:
    When you killed the boss, It spawns an portal.
    How can I make that?

    thanks in Advance.
    Wapie.
    Reply With Quote  
     

  2. #2  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    500
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Or you can put where in that area if they kill so many that they can pass through the portal.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Apr 2010
    Posts
    76
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Hmm.
    Could too, thanks for the advice

    Wapie.
    Reply With Quote  
     

  4. #4  
    #Winning

    Join Date
    Apr 2011
    Age
    23
    Posts
    2,245
    Thanks given
    366
    Thanks received
    387
    Rep Power
    1187
    If you were going to make it like he said, then make it so when you kill the boss, int "bosskilled", for example, increases by 1. Then when you walk through the portal.. make it 0 again.


    Vouches
    Spoiler for Vouches:

    Quote Originally Posted by Exile rsps View Post
    Vouch thanks for that pic
    Quote Originally Posted by bwuk _im_pb View Post
    i vouch for charlie hes legit
    Quote Originally Posted by Pastaway
    Vouch for 'Charlie. Added a tut to my server I couldn't add and payed him after =]
    Quote Originally Posted by mongolias
    Vouch for 'Charlie. Sold me a banner, the trade went quick and efficiently.
    Quote Originally Posted by Lane
    Vouch for charlie, he is #1
    Quote Originally Posted by Raw Envy View Post
    Vouch for Charlie.
    Quote Originally Posted by -Null Code-
    Vouch Legit bought rs membership
    Quote Originally Posted by tucybro
    Traded with Charlie, went smoothly I went first and he paid promptly without and issues, great trader!



    Reply With Quote  
     

  5. #5  
    Registered Member Mikey's Avatar
    Join Date
    Apr 2011
    Posts
    751
    Thanks given
    570
    Thanks received
    32
    Rep Power
    40
    If you just want it to spawn once that certain NPC is killed that would be simple
    You could also make a "bosskilled" int and +1 each time the NPC is killed as said above. Then require that int to equal 1 then once clicked set it back to = 0.

    Easily done, if you need more help just ask

    - Mikey

    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2010
    Posts
    76
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Uhm.. I'll try it by myself first.
    If I ask help everytime I learn nothing

    Ok, thanks every1 here for helping & giving me advice

    I have coded it.
    Its working and Im very happy about it.

    Wapie.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Hoodlum's Avatar
    Join Date
    Jul 2010
    Age
    24
    Posts
    1,572
    Thanks given
    84
    Thanks received
    249
    Rep Power
    1251
    Quote Originally Posted by wapie View Post
    Hello,

    Im trying to make Floor 1 of Dungeoneering.

    I want to make something like:
    When you killed the boss, It spawns an portal.
    How can I make that?

    thanks in Advance.
    Wapie.
    Do this. Make a portal already in the boss room and once you have defeated the boss you may use the portal.
    Quote Originally Posted by zzzfishstick View Post
    Soul split? How the hell did you get their source? And isn't it based off InsidiaX?
    Reply With Quote  
     

  8. #8  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    27
    Posts
    4,780
    Thanks given
    199
    Thanks received
    1,255
    Rep Power
    1110
    NPCHandler.java just look for magepoints. under it put
    Code:
     if (npcs[i].npcType == #) {
    c.getPA().object(objectid, absX coord,
    				absY coord, 0, 10);
    }
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Apr 2010
    Posts
    76
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Already coded it like I said in my Second post
    But still thanks to every1 who helped me.

    Wapie.
    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

Similar Threads

  1. Replies: 19
    Last Post: 09-07-2011, 01:29 PM
  2. Replies: 3
    Last Post: 09-21-2010, 04:07 AM
  3. Replies: 1
    Last Post: 09-11-2010, 01:27 PM
  4. Replies: 10
    Last Post: 11-25-2009, 05:14 PM
  5. Replies: 4
    Last Post: 02-23-2009, 08:07 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •