Floundermaj
11-29-2013, 09:36 AM
Greetings,
I have a global script I want to accomplish as follows:
Link receives a special equipment item that is permanently assigned to a scripted input (say EX1), which can be toggled on or off. When the item is "on" certain other of Link's items cannot be used, and he can access the special ability granted. When the item is "off", Link has access to all his items except the special ability.
The only way I know how to enable/disable items is to give them or take them away via script. (Link->Item(123) = true or false;) However, I do not want to give an item that link has not yet obtained from a dungeon, and I do not want to accidentally remove items permanently. I'm afraid this might happen if someone saves and quits while having the special item toggled "on".
So what I was thinking is to have a Boolean variable that corresponds to each item, and once that item is picked up from a dungeon, it is permanently equal to true. However, if someone saves and quits, will this true value be retained then next time they play? Is there another way to accomplish this?
Any help would be appreciated, Thanks in advance.
I have a global script I want to accomplish as follows:
Link receives a special equipment item that is permanently assigned to a scripted input (say EX1), which can be toggled on or off. When the item is "on" certain other of Link's items cannot be used, and he can access the special ability granted. When the item is "off", Link has access to all his items except the special ability.
The only way I know how to enable/disable items is to give them or take them away via script. (Link->Item(123) = true or false;) However, I do not want to give an item that link has not yet obtained from a dungeon, and I do not want to accidentally remove items permanently. I'm afraid this might happen if someone saves and quits while having the special item toggled "on".
So what I was thinking is to have a Boolean variable that corresponds to each item, and once that item is picked up from a dungeon, it is permanently equal to true. However, if someone saves and quits, will this true value be retained then next time they play? Is there another way to accomplish this?
Any help would be appreciated, Thanks in advance.