Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Neverwinter vault script category seems to be the defacto place to post scripting resources. There are a bunch of useful drop-in scripting systems the be found there. I talked with a few people about hosting a github/gitlab repository or a wiki, but it's really hard to bring everything together into a central resource. Neverwinter vault or any building/scripting related channel on neverwintervault/nwn:ee discord are probably your best option at the moment.
https://neverwintervault.org/project/nwnee/module/dmfi-multiplayer-starter-mod-nwnee
Sounds a lot like the Anphillia death system, it was great.
and i think its a module event script,not an OnDeathScript.
this script however that you want is probebly best done by creating a whole new custom function,but im not a C programmer.
all i can create with the standart functions for you is this:
onDeathScript:
void {
SetlocalVarialble(OBJECT_SELF,"death",1);
}
moduleHBscript:
void main {
object x = GetLastRespawnButtonPresser();
GetLocalVariable(x,"death");
if ( death == 1 )
{
int hptoheal=1000;
effect y = EffectHeal(hptoheal);
ApplyEffectToObject(DURATION_TYPE_INSTANT,y,x);
SetlocalVarialble(OBJECT_SELF,"death",0);
}
}