Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Simple XP reward for disarming trap

From NWNWiki

Jump to: navigation, search

[edit] Simple XP reward for disarming trap

[edit] SCRIPT AUTHOR

Kel-nage


[edit] WHAT IT DOES

This simple script awards a set amount of XP to whoever disarms a trap with this script in its "on disarm" property. As you can see, its very simple to edit and it is 100% working, unlike other trap XP scripts. Just cut and paste this...

void main()
{
object oPC = GetLastDisarmed();
int iExperience = 200;
GiveXPToCreature(oPC, iExperience);
}
Rate this article:
Share this article: