Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
17 lines
345 B
Plaintext
17 lines
345 B
Plaintext
|
|
void main()
|
|
{
|
|
int nUser = GetUserDefinedEventNumber();
|
|
|
|
if(nUser == 400)
|
|
{
|
|
SetLocalInt(OBJECT_SELF, "tri_crsActive", 1);
|
|
ActionPlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
|
|
}
|
|
if(nUser == 401)
|
|
{
|
|
SetLocalInt(OBJECT_SELF, "tri_crsActive", 0);
|
|
ActionPlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
|
|
}
|
|
}
|