Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Не могу поянть ошибку

тут можно задать вопрос по скриптингу
Post Reply
Fantastick
Neophyte
Neophyte
Posts: 10
Joined: 02.12.2006 20:37

Не могу поянть ошибку

Post by Fantastick »

Code: Select all

procedure pucovka; 
begin 
If (Mana>=16) then 
		begin 
		   FindType ($0E34 , $5EC684C7);
		   UseObject(FindType($0E34,$5EC684C7));
		   wait(5000) ;
		   Waitmenu('Select a circle to inscribe', 'Circle 4 spells', 'Select a spell to inscribe', 'Greater Heal')
		   end     // 83 строка
end;
Стелс выдает:

Code: Select all

Compiler: [Error] (Inscript.sc at 83:1):  Invalid number of parameters
Помогите пожалуйста
Miralex
Developer
Developer
Posts: 656
Joined: 11.03.2005 19:12
Contact:

Post by Miralex »

В Wait меню должно быть только 2 параметра...
DerMeister
Novice
Novice
Posts: 54
Joined: 19.11.2006 17:35

Post by DerMeister »

В Waitmenu не может быть более или менее двух параметров. Используй последовательность ловушек с разными Promt'ами.
Fantastick
Neophyte
Neophyte
Posts: 10
Joined: 02.12.2006 20:37

Post by Fantastick »

Miralex wrote:В Wait меню должно быть только 2 параметра...
Спасибо :)
Исправил :D
Post Reply