Simple Activate Once On Item Script

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
User avatar
Cep
Member
Posts: 103
Joined: Fri Nov 14, 2003 2:28 am
Location: On a boat in the middle of nowhere
Contact:

Simple Activate Once On Item Script

Post by Cep »

Begin ItemScript

short doOnce
short OnPCEquip

if ( doOnce == 1 )
Return
endif

if ( OnActivate == 1 )
Your action here
Set doOnce to 1
Activate
endif

if ( OnPCEquip == 1 )
Your action here
Set doOnce to 1
endif


End
Locked