Navigation

    City of Arabel

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Creature items

    Scripting
    2
    5
    1697
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      darkelf24420 last edited by

      OKay I'm stuck at a point in changing a player's looks.

      I'm having an issuse finding how to make the old creature skins disapear or be destroyed, and I can't find the PC properties in the toolset to find the tag. I understand the scripting part.

      Anyone knwo the Tag of the PC Skin?

      Cola Sane….... is now just a side

      Barakis- Vengeful Coward.

      1 Reply Last reply Reply Quote
      • Snowstorm
        Snowstorm last edited by

        PC's have no skin unless you equip one on them with a script.

        You can use:

        object oPC = <the pc="" that="" would="" be="" wearing="" the="" skin="">;
        object oSkin = GetItemInSlot(INVENTORY_SLOT_CARMOUR, oPC);
        if (GetIsObjectValid(oSkin) {
        // if oPC has a skin run this part of the code
        } else
        // if oPC has none, run this part instead
        }</the>
        

        to get the creature skin on oPC.

        White teddy bear

        1 Reply Last reply Reply Quote
        • D
          darkelf24420 last edited by

          When I equip said skin to the PC, a skin appears in the inventory labeled PC Properties. Thought is was wierd.

          Thanks again Snowy.

          Cola Sane….... is now just a side

          Barakis- Vengeful Coward.

          1 Reply Last reply Reply Quote
          • Snowstorm
            Snowstorm last edited by

            Delete any skin already in place before applying a new one?
            Unless the first skin has an important function?

            White teddy bear

            1 Reply Last reply Reply Quote
            • D
              darkelf24420 last edited by

              I think the skin that I'm seeing is for riding horses. The description says something along those lines. I've bypassed any issuse I'm having by emptying the PC inventory completely.

              Cola Sane….... is now just a side

              Barakis- Vengeful Coward.

              1 Reply Last reply Reply Quote
              • 1 / 1
              • First post
                Last post