how to set the direction of world.playeffect smoke

Discussion in 'Plugin Development' started by nitrousspark, Jul 16, 2012.

  1. Offline

    nitrousspark

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i need to set the direction. i have world.playeffect(location, Effect.SMOKE, 0) and i have a couple others. i was wondering if the zero is degrees or something. help?
  2. Offline

    EnvisionRed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Something to do with intensity or time from what I gather. I think @r0306 knows because he had a thread a while back about effects
  3. Offline

    r0306

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)

    This post has been edited 3 times. It was last edited by r0306 Jul 16, 2012.
  4. Offline

    Aljed_The_Legit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    How would you set it up like that? For example"
    Player player = (Player) sender;
    which makes the "player."

    What would I have to right for the
    "world.playEffect(location, Effect.MOBSPAWNER_FLAMES, 8);"
  5. Offline

    Aljed_The_Legit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I use player.getWorld().playEffect(location, Effect.MOBSPAWNER_FLAMES, 8);
    Am I doing it right?

Share This Page