• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Please help me fix this!

Status
Not open for further replies.
Level 6
Joined
Aug 3, 2021
Messages
106
Hi evrybody i have a huge problem. When i try to save my map in the world editor it shows a window and in that window a few problems in the code. But when i test my map it boots the game a small window is also shown and it shows an exclamation mark. I will send you my map and screen shots of the problems. Best regards from Pekisa7.
 

Attachments

  • problems.docx
    2.4 MB · Views: 11
  • War in the City.w3x
    4.9 MB · Views: 5
Level 24
Joined
Feb 27, 2019
Messages
833
Have you enabled jasshelper? Open the trigger editor > jasshelper > enable jasshelper

EDIT: Posting the map made it very easy to find the error. You have a global variable called TimerSummoning that is currently a timer variable but its used by a few actions as a real variable (ex: obelisk01,02,03,04 Timer Arthas). I am not quite sure how you managed to do this. Id be interested to know how you think you did that.

If you read the window with problems that appear you might be able to suss out problems yourself. The error says: Cannot convert timer to real in parameter callout StartTimerBJ, Cannot convert real to timer. The surrounding text of the highlighted text can show where and which trigger is responsible.
 
Last edited:
Level 6
Joined
Aug 3, 2021
Messages
106
Have you enabled jasshelper? Open the trigger editor > jasshelper > enable jasshelper

EDIT: Posting the map made it very easy to find the error. You have a global variable called TimerSummoning that is currently a timer variable but its used by a few actions as a real variable (ex: obelisk01,02,03,04 Timer Arthas). I am not quite sure how you managed to do this. Id be interested to know how you think you did that.

If you read the window with problems that appear you might be able to suss out problems yourself. The error says: Cannot convert timer to real in parameter callout StartTimerBJ, Cannot convert real to timer. The surrounding text of the highlighted text can show where and which trigger is responsible.
The JassHelper has already been enabled on my map but it still dosen't work. I used the triggers form the last mission of the Undead Campaing in the Frozen Throne and I copied those triggers to my map. I will need your help to fix the map and to fix StartTimerBJ, TimerSummoning and other highlighted problems. Thank you and best regards from Pekisa7.
 
Level 6
Joined
Aug 3, 2021
Messages
106
Make the TimerSummoning variable into a real variable. It will cause some actions to be disabled. In init set TimerSummoning = 30.00 and in the other disabled actions start timer at TimerSummoning seconds.
I already have TimerSummoning = 30.00 in the initialization and I started a timer with a variable TimerSummoning which wil expire in 30.00 seconds and it still dosen't work.
 
Level 24
Joined
Feb 27, 2019
Messages
833
Follow these steps in this order:
1. TimerSummoning - Change the variable type of this variable to a real variable, continue and accept warnings
2. Initialization - Set TimerSummoning = 30.00 again
3. Obelisk 01-04 Timer Arthas set the time for the timers to TimerSummoning again
4. Obelisk 01-04 Timer Illidan set the time for the timers to TimerSummoning again
 
Level 6
Joined
Aug 3, 2021
Messages
106
Follow these steps in this order:
1. TimerSummoning - Change the variable type of this variable to a real variable, continue and accept warnings
2. Initialization - Set TimerSummoning = 30.00 again
3. Obelisk 01-04 Timer Arthas set the time for the timers to TimerSummoning again
4. Obelisk 01-04 Timer Illidan set the time for the timers to TimerSummoning again
Thank you so much for helping me. I wish you the best of luck. You are awesome.
 
Status
Not open for further replies.
Top