XN0X0neX Posted July 6, 2017 Share Posted July 6, 2017 Okay so this script fires once i enter the cell that the mobmarker is in and activate the object twice but im trying to figure out how to get the same effect but only have to activate the spawner once and not have to enter the cell. Is there a way to achieve this? Heres a fragment of the script. Please let me know where changes can be made. scriptName XN0XArenaEntry extends ObjectReferencecell property XN0XArena autoleveledactor property XN0XSkelEnemy autoleveledactor property XN0XWerewolfEnemy autoleveledactor property XN0XWarlockEle autoleveledactor property XN0XDraugrEnemy autoLeveledActor Property XN0XFalmer AutoLeveledActor Property XN0XDwarven AutoLeveledActor Property XN0XSpiders AutoObjectReference property XN0XMobMarker automiscobject property Gold001 automessage property XN0XArenaMobAmount automessage property XN0XArenaMobs autoMessage Property XN0XArenaMobs2 Autofunction OnActivate(ObjectReference AkActionRef) if AkActionRef == game.GetPlayer() as ObjectReference XN0XArenaMenuMain() endIfendFunctionfunction XN0XSkel() Int Button = XN0XArenaMobAmount.Show() if (Button == 0) XN0XMobMarker.PlaceAtMe(XN0XSkelEnemy, 1) endIf if (Button == 1) XN0XMobMarker.PlaceAtMe(XN0XSkelEnemy, 2) endIf if (Button == 2) XN0XMobMarker.PlaceAtMe(XN0XSkelEnemy, 3) endIf if (Button == 3) XN0XMobMarker.PlaceAtMe(XN0XSkelEnemy, 4) endIf if (Button == 4) XN0XMobMarker.PlaceAtMe(XN0XSkelEnemy, 5) endIfendFunctionfunction XN0XArenaMenuMain() Int Button = XN0XArenaMobs.Show() if (Button == 0) XN0XSkel() endIf if (Button == 1) XN0XWereWolves() endIf if (Button == 2) XN0XNecroMages() endIf if (Button == 3) XN0XDraugrs() endIf if (Button == 4) XN0XArenaMenuMain2() endIf If (Button == 5) EndifendFunction Link to comment Share on other sites More sharing options...
Recommended Posts