×
Меню
Индекс

MSFD Инициация диалога с оборотнем

[no fix] AllowWereWolfForceGreeting  (is short variable)
 
     Short AllowWereWolfForceGreeting 
 
Эта переменная позволяет использовать ForceGreeting с игроком-оборотнем.
Используется в cariushuntscript, dulkscript, heartfanghuntscript.
Не нужно ее ни во что устанавливать, только объявите ее.
 
Пример:
Begin dulkScript
 
short doOnce
short playerwolf
short AllowWerewolfForceGreeting
 
if ( GetJournalIndex BM_FrostGiant2 == 10 )
     if ( doOnce == 0 )
          if ( GetDistance Player <= 512 )
               if ( Player->IsWerewolf == 1 )
                    ForceGreeting
                    set doOnce to 1
               endif
          endif
     endif
elseif ( GetJournalIndex BM_FrostGiant2 == 70 )
     if ( doOnce == 1 )
          if ( GetDistance Player <= 512 )
               ;if ( Player->IsWerewolf == 1 )
                    ForceGreeting
                    set doOnce to 2
               ;endif
          endif
     endif    
endif
 
End dulkScript