Originally Posted by
ivanaivana
It is easy for oldfag dev, but impossible for newfag leacher, so i can share my way to do it))
We need give to player some weapon for 3 hours for example.
A. We will use:
1. Weapon Fist*
2. Some locked room in arena (there are rooms at top and bottom).
3. Quest for time.
B. Step by step:
1. Player activates quest, which gives him a Fist*
2. After that automatically activates new quest, which requires Fist* to be finished and with 3 hour limit (ingame time, offline dont takes time!).
3. If player hide items in bank or wear it, they cannot be taken by qouest, we must force player to take off that items.
4. If he takes it off and quest completes, he gets 1 exp and spirit points, losts that item.
5. If he insist on using that item, quest fails... but if it fails, he get teleported to that room in arena.
6. Trigger in arena reactivates that quest again, but this time with 30 second limit.
7. In that room we must place Banker, if he hided item in bank.
What we have:
Player gets item.
After some time quest takes it back.
If he hide item in bank or wear it, we force him to place it back to inventory by teleporting him to locked room every 30 seconds after time ends.