Signup Now
Results 1 to 2 of 2
  1. #1
    Free User TibiaDealer's Avatar
    Join Date
    Dec 2013
    Location
    Tibia-Dealer.com
    Posts
    391
    Reputation
    9
    Rep Power
    0

    Question If a certain monster

    Hai! I am making a script, that if i am a certain monster(Like a dark magician transforming me to a cyc) it will run an action.
    But I can't get it to work, I tried with things like this:

    Code:
    auto(299)
    if $self.ismonster == "cyclops" then
    ..
    end
    THX
    REP++
    Last edited by TibiaDealer; 02-01-2014 at 01:39 PM.

  2. #2
    Moderator Dehan's Avatar
    Join Date
    Dec 2013
    Posts
    1,404
    Reputation
    315
    Rep Power
    26
    Quote Originally Posted by TibiaDealer View Post
    Hai! I am making a script, that if i am a certain monster(Like a dark magician transforming me to a cyc) it will run an action.
    But I can't get it to work, I tried with things like this:

    Code:
    auto(299)
    if $self.ismonster == "cyclops" then
    ..
    end
    THX
    REP++
    .ismonster returns if you are a monster or not, not the ID. You should better use this:
    Code:
    if $self.outfit == ID of outfit then
    just check the id by printing on console ]
    Code:
    print($self.outfit)
    *cyclops = 22

    Level Latest Scripts by Dehan
    250+
    [EK & ED & MS & RP] [Navigation] Prison -1
    200+
    [EK & ED & MS] [Navigation] Asura Palace
    200+
    [EK & ED] [Navigation] Lower Roshamuul Softcore

 

 

Posting Permissions

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