The issue you mentioned there is strange. No surprise it couldn't be reproduced, you probably have something strange in your script. I'd attach it to the issue for review.
The issue you mentioned there is strange. No surprise it couldn't be reproduced, you probably have something strange in your script. I'd attach it to the issue for review.
yeah, except no matter what did I do, it always get researched, maybe I need to upload a map ( once again ) to here to test it and see what is wrong...
EDIT: BTW, I changed the map layout and script command, I stopped to use any spell book to having other meanings. However, I will use it on next time in next map ( simple, it has better simulation of time attacking)
Also, your script code what did you post, did not have a timer in corner, just a blank. Anyway...
EDIT2: I absolutely want to use the spell book mentioned in thread, so I leave some of levels as open and not finished yet. I am pretty sure the problem will be solved eventually
EDIT3: Attached a map in issue tracker
Last edited by UnknownMaster21; October 27th, 2014 at 10:25.
I've tested the map, and I can reproduce your issue. Did not expect that. See no reason for it to happen like this.
The map has quite a few script issues though: You've used Sorcerer quite a few times, while DK expects "Sorceror". You've also had a typo in the objective ''ATTACK_ENEMIES', and you've used the objective 'DUNGEON_HEART' instead of 'ATTACK_DUNGEON_HEART'.
Why with my code doesn't show the timer is because I also made a script error. I used '=' as a comparison, should be '==' or '>='. The below code does work:
Code:REM Time to get POWER_HOLD_AUDIENCE SET_TIMER(PLAYER0,TIMER0) BONUS_LEVEL_TIME(80000) REM Stop timer when player has spell in library IF_AVAILABLE(PLAYER0,POWER_HOLD_AUDIENCE == 1) SET_FLAG(PLAYER0,FLAG1,1) BONUS_LEVEL_TIME(0) QUICK_OBJECTIVE(20,"No more time limit",PLAYER0) ENDIF REM When time is up without POWER_HOLD_AUDIENCE available, lose game. IF(PLAYER0,FLAG1 == 0) IF(PLAYER0,TIMER0 >= 80000) QUICK_OBJECTIVE(21,"Time is up. You failed to get on here in time, so you have been defeated!",5) LOSE_GAME ENDIF ENDIF REM When ACTION_POINT 5 is reached, win game and stop timer. IF_ACTION_POINT(5,PLAYER0) BONUS_LEVEL_TIME(0) WIN_GAME QUICK_OBJECTIVE(21,"Praise",PLAYER0) ENDIF
I did see something like that, but didn't thought enoughly.
Oops! Yeah, that happens when a Warlock is not Warlock and so on... however, I will fix them after the work I have to go ( about right now )
Also, I have to fix the script in all maps then, didn't thought it needs an ATTACK as well
Thank you. You are saving alot of time for me.
Anyway, I will try that script on next time on map ( But a lot shorter, so it does not take too much time to play, though)
EDIT: Nice test :P
There's not much too test,... I open the script in notepad++, and immediately see all the typo's because of the syntax highlighting. Then if I run the map, I check the log, and that lists any errors you've missed. Just search for 'Error'.