28 lines
562 B
Plaintext
28 lines
562 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 2.3
|
|
|
|
For download info, please visit:
|
|
http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */
|
|
|
|
void main()
|
|
{
|
|
object oPC;
|
|
|
|
if (!GetIsPC(GetItemActivatedTarget())
|
|
){
|
|
|
|
SendMessageToPC(GetItemActivator(), "Target must be another player.");
|
|
return;}
|
|
|
|
object oTarget;
|
|
oTarget = GetItemActivatedTarget();
|
|
|
|
effect eEffect;
|
|
eEffect = EffectPolymorph(POLYMORPH_TYPE_PENGUIN);
|
|
|
|
eEffect = SupernaturalEffect(eEffect);
|
|
|
|
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 300.0f);
|
|
|
|
}
|