ActionExamine OnUsed
RestoRanger
Member Posts: 5
Lexicon example:
// This script is placed on a placeable's OnUsed event.This is causing the PC to examine itself.
// It causes a PC that uses it to examine the placeable.
void main()
{
object oPC = GetLastUsedBy();
AssignCommand(oPC, ActionExamine(OBJECT_SELF));
}
0
Comments
This is the right way to do it:
See AssignCommand's lexicon page for more info