Перейти к содержанию

icecream

Пользователь
  • Постов

    3
  • Зарегистрирован

  • Посещение

Информация

  • Пол
    Мужчина

Посетители профиля

179 просмотров профиля

Достижения icecream

  1. Здравствуйте всем , извеняюсь если повторяюсь мб такой вопрос был  кто может пояснить принцип работы данного скрипта Scriptname HavenBagTeleport extends activemagiceffect ObjectReference Property Marking Auto ObjectReference Property HavenBagMarker Auto Cell Property HavenBag Auto objectReference property BagItem auto {Point explicity to the unique, placed reference of the mask in the world} event OnEffectStart ( Actor Target, Actor Caster ) if (Caster.GetParentCell() != HavenBag) Marking.MoveTo (Caster) Caster.MoveTo (HavenBagMarker) Endif EndEvent EVENT onEffectFinish ( Actor Target, Actor Caster ) if (Caster.GetParentCell() == HavenBag) Caster.Moveto (Marking) if caster.getItemCount(BagItem) < 1 ; safety catch - if the player dropped the mask in the sanctuary, add it to inventory so it doesn't get lost. caster.addItem(BagItem) endif endif EndEvent
×
×
  • Создать...