03-04-2011, 05:49 AM
I cannot say what was or wasn't wrong from such a snippet.
You're grabbing the current item from the item menu and storing it in currenthighlighteditem
Then you perform a routine that runs item_detail if the item detail window is active.
Then it exits the update method IF you are only dealing with the item detail window.
Then runs the rest of the system.
Other than that, it may not be a case of syntax error, but logical error which is about the way and order things are performed in a program.
But, the Item_Detail script by Jackatrades (man, it's been YEARS since I talked to him in Creation Asylum...), is one of the first I really... REALLY... studied.
You're grabbing the current item from the item menu and storing it in currenthighlighteditem
Then you perform a routine that runs item_detail if the item detail window is active.
Then it exits the update method IF you are only dealing with the item detail window.
Then runs the rest of the system.
Other than that, it may not be a case of syntax error, but logical error which is about the way and order things are performed in a program.
But, the Item_Detail script by Jackatrades (man, it's been YEARS since I talked to him in Creation Asylum...), is one of the first I really... REALLY... studied.