| 02-23-2005, 12:00 AM | #1 |
I have this tool called World Editor Unlimited, and i went to its official site. The site gave me a tut on making a simple, yet effective save and load code. but, there is a problem that is not so simple, in one trigger called save hero there is a fatal problem! Save Hero -Events Player-Player 1 (Red) types a chat message containing /save as An exact match -Conditions -Actions Set AlreadySavedHero = False Unit Group-Pick every unit in (Units currently selected by (Triggering player)) and do (Actions) -Loop-Actions -If (All Conditions are True) then do (Then Actions) else do (Else Actions) -If-Conditions AlreadySavedHero Equal to False ((Picked unit) is A Hero) Equal to True -Then-Actions Set AlreadySavedHero = True Advanced-Save (Picked unit) for (Triggering player) Unit-Remove (Picked unit) from the game -Else-Actions As you can see above, under the First actions, it says set AlreadySavedHero = False..... Impossible! when i go to the set variable action in the menu, there is absolutely nothing that has anything to do with the term, False Therefor you see my problem, i simply cannot make that certain action say = False! Any and all help is appreciated, Thanks in advance EDIT- btw, there is also an action that says Set AlreadySavedHero = True if i cant make it false, i sure as heck cant make it true! |
| 02-23-2005, 12:29 AM | #2 |
Guest | I'm not really sure what's wrong but I can give two ideas to help you. First don't use "/save", the trigger may not be able to detect it. Try using "-save" instead. Second try debugging your scripts but seeing which part of the triggers are running and which are not running. Use text message triggers to see (you should be able to find a tutorial about this). That's all I got for you. Good luck. |
| 02-23-2005, 01:00 PM | #3 |
yea, a / is typically used in battle.net commands, like /squelch and /whois . type that in on battle net, and it will A) not work b) say "that is not a valid command" in nasty red letters. |
| 02-24-2005, 10:00 AM | #4 |
d'ooh AlreadySavedHero is a boolean variable, so you'll have to go to the variable editor and create such a boolean variable. |
| 02-27-2005, 03:19 AM | #5 |
ty very much pitzermike that does the trick, i thot that variable was a unit variable, but it was after all boolean, ty very much |
| 03-01-2005, 03:32 AM | #6 |
Guest | HEY MASTER HOW DO YOU LOAD AND I DONT GET THE LAST PART OF THE SAVING Advanced-Save (Picked unit) for (Triggering player) Unit-Remove (Picked unit) from the game -Else-Actions |
| 03-01-2005, 03:34 AM | #7 |
Guest | HELLO you guys there? |
| 03-03-2005, 11:46 PM | #8 |
The second image in the tutorial seems to be errorneous. I'll fix it. oh, and don't expect us to answer within 2 minutes |
| 03-08-2005, 02:56 AM | #9 |
Guest | Do those save load codes really work? I downloaded one but Im not so sure. I havent tried it yet though... Maybe I shouldnt be so skeptical. |
