Results 1 to 6 of 6

Thread: Change attack spell if player enters the screen

  1. #1
    Normal User
    Join Date
    Jun 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Change attack spell if player enters the screen

    Is it possible to do this?;
    Whenever a player enters the screen, my character shoots exori con instead exori san.

  2. #2
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Depents on the target...
    PHP Code:
    if paround(7) > 0 then
    setsetting
    ("Targeting\\Monsters\\monster1\\ListSettings\\Setting0\\ListSpell\\Spell0""Ethereal Spear")
    setsetting("Targeting\\Monsters\\monster2\\ListSettings\\Setting0\\ListSpell\\Spell0""Ethereal Spear")
    setsetting("Targeting\\Monsters\\monster3\\ListSettings\\Setting0\\ListSpell\\Spell0""Ethereal Spear")
    else
    setsetting("Targeting\\Monsters\\monster\\ListSettings\\Setting0\\ListSpell\\Spell0""Divine Missile")
    setsetting("Targeting\\Monsters\\monster2\\ListSettings\\Setting0\\ListSpell\\Spell0""Divine Missile")
    setsetting("Targeting\\Monsters\\monster3\\ListSettings\\Setting0\\ListSpell\\Spell0""Divine Missile")
    end 
    Add this to actions.

    You will need to add more lines for each mosnter.
    Last edited by pink_panther; 08-16-2012 at 11:26 PM.

  3. #3
    Normal User
    Join Date
    Jun 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Cheers man

  4. #4
    Banned
    Join Date
    May 2012
    Posts
    1,364
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    127
    Rep Power
    0
    Should be > 0

  5. #5
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by BUgWT View Post
    Should be > 0
    duly noted. cheers

  6. #6
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    well i use that to not need do every spell settings.

    if (paround(3) > 0) then
    setsettings("Settings\\Targeting\\Settings\\PlayerOnScreenSecur ity", "Always")
    else
    setsettings("Settings\\Targeting\\Settings\\PlayerOnScreenSecur ity", "Do nothing")
    end
    But with ethereal spear idk if will work.
    PS: I use more to mages.
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

Posting Permissions

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