What it does: Changes respawn options ingame. PC can choose: easy game with standart respawn, or harder way - with (maybe) some additional profits.
How to use it:
1. mod_on_death script: Goes OnPlayerDeath of the module properties
2. mod_on_respawn script: Goes OnPlayerRespawn of the module properties
3. special_onenter script :Goes OnEnter of an area (or a trigger, whatever suits you).
4. set local int oPC respawn_opt to 1. You can do it via conversation, use of some item, placeable, entering the chosen area, etc.
info for the begginers : cut and paste this line to your script:
SetLocalInt(oPC, "respawn_opt",1);
4. Now, the fun: spawn some additional treasure near entering PC, by using this special_onenter script (I've used treasure, large from standard palette, but you can change it, simply by changing item's ResRef)
Suggestions : you can set additional encounters, or allow PC to enter otherwise restricted areas, simply by checking via script, if variable respawn_opt ==1,
Attachment | Size |
---|---|
![]() | 14.49 KB |