I have an example here:
1. now i test the map
2. press 1
3. close
4. check the bank file with notepad, and notice it will have
Now if i change the key again to "experience" for the sake of spelling it correctly..
1. test the map
2. press 1
3. close
4. open the bank with notepad
This isn't anything serious... but is there other way to fix this other than removing the extra key manually with notepad? Or am i doing it wrongly?
-
Bank
-
Events
- UI - Player Any Player presses 1 (Key) key Down with shift Allow, control Allow, alt Allow
-
Local Variables
- Exp = 50 <Integer>
- Conditions
-
Actions
- Bank - Open bank "testBank" for player 1
- Bank - Store integer Exp as "expariance" of section "Hero" in bank (Last opened bank)
- Bank - Save bank (Last opened bank)
-
Events
1. now i test the map
2. press 1
3. close
4. check the bank file with notepad, and notice it will have
Code:
<Bank version="1">
<Section name="Hero">
<Key name="expariance">
<Value int="50"/>
</Key>
</Section>
</Bank>
Now if i change the key again to "experience" for the sake of spelling it correctly..
1. test the map
2. press 1
3. close
4. open the bank with notepad
Code:
<Bank version="1">
<Section name="Hero">
<Key name="expariance">
<Value int="50"/>
</Key>
<Key name="experience">
<Value int="50"/>
</Key>
</Section>
</Bank>
This isn't anything serious... but is there other way to fix this other than removing the extra key manually with notepad? Or am i doing it wrongly?