It is possible yes. But if your loot system is not set up or scripted for it, then it would probably take a lot of work to get your system to spawn loot that way or you would need a new system all together.
You could do it a couple ways. But again it completely depends on your loot system.
-Use GetArea function. If Area == xxx then spawn xxx treasure.
-Use OnEnter of the area to set a local variable on the player then check for that variable.
Or you could preset variables on creatures in the toolset to determine what treasure will spawn. Either of these methods would just use GetLocal???. If GetLocal??? == xxx then spawn xxx treasure.
-You could also just create your own mini simple loot system for the specific areas. Maybe just have a script with a bunch of random palette items. Roll a 1 and you get xxx item. Roll a 2 and get xxx item, etc..
Modifié par GhostOfGod, 12 octobre 2010 - 10:14 .