Dangnoob
Member
- Joined
- Jun 8, 2008
- Messages
- 105
- Solutions
- 2
- Reaction score
- 12
Im stuck and struggling how to get conditions to stay. I cannot figure out how to get which conditions the player has then re-apply them on login. These are all registered from onEquip scripts in movements.
Equip armor -> gives condition.
Logout -> loses condtion.
(trying to) login-> gives back condition. if needed - based on the itemid(each item id has a different condition, or it at least will check if they do or not).
Whether that is somehow re-running the onEquip scripts by grabbing all the items the player is wearing, or by any other means. Ive been trying to figure this out and i cannot make any progress as everything i try leads to a dead end.
0.3.6
Equip armor -> gives condition.
Logout -> loses condtion.
(trying to) login-> gives back condition. if needed - based on the itemid(each item id has a different condition, or it at least will check if they do or not).
Whether that is somehow re-running the onEquip scripts by grabbing all the items the player is wearing, or by any other means. Ive been trying to figure this out and i cannot make any progress as everything i try leads to a dead end.
0.3.6