Planning Stage: Questions

Discussion in 'Plugin Development' started by Jaker232, Mar 10, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Jaker232

    I'm working on another major plugin that is fast-paced and stuff and I'm working on my flowchart. I have a few questions about it.

    1. (Spout) Is it possible that there's a tutorial for letting me see if the Player is using Spout, and then display the GUI for their health if it returns true?
    2. Is there a way to setting maximum health and setting the walk-speed of the player? I want the one with 300 health to walk 1/2 of his speed in order to balance the game.
    I may add more questions later on in this thread.
     
  2. Offline

    stelar7

    Code:
    if (sender instanceof SpoutPlayer) {
     
  3. Offline

    DrAgonmoray

    That will never return true...
    Code:
    Player player; //this is your player
    if (((SpoutPlayer)player).isSpoutcraftEnabled()) {
     
  4. Offline

    Codex Arcanum

    Don't believe you can set the max health of a player, based on the exceedingly complicated workaround heroes uses.
     
  5. Offline

    stelar7

    It does

    If a players max health exceeds 20 there will be a lot of errors (unless you modify CB(I think...))

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
Thread Status:
Not open for further replies.

Share This Page