Apparently, I have hit the board attachment limit so here is a link to the demo file:
https://1drv.ms/u/s!Ap4KZFMds2L1hCsrgX0_Ikh52mdj
EDIT: Sorry guys forgot to include the ACS code:
Code: Select all
#include "include/zcommon.acs"
script 1 ENTER {
ClearInventory();
GiveInventory("MageSword", 1);
GiveInventory("ExorSword", 1);
}
script 2 (void) {
if (CheckWeapon("ExorSword")){
PrintBold(s:"TRUE!");
} else {
PrintBold(s:"FALSE!");
}
}