Jump to content

EssArrBee

Supporter
  • Posts

    3
  • Joined

  • Last visited

Nexus Mods Profile

About EssArrBee

EssArrBee's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. Okay, thanks. The original Monocyte Breeder is in a scripteffectupdate blocktype, so I just tried to add to it.
  2. I've been trying to edit the behavior of the Monocyte Breeder Implant to give 2 health for 30 seconds when combat starts and to only do it three times a day. After 30 seconds it returns to it's normal function. I've tried doing a few different ways but each way seems to freeze the game on entering combat when I test it out. Here is a way I tried by creating an ingestible that is added and equipped when combat starts: scn ImplantRegenScript ; First Monocyte Breeder Upgrade ; Increases regen rate 20% over base model ; Adds accelerated health regen int iNanobotCount float fMicroRegen float fDayReset Begin ScriptEffectStart set iNanobotCount to 0 set fDayReset to GameDaysPassed + 1 End begin ScriptEffectUpdate if fDayReset < GameDaysPassed ; check if day passed to reset three uses set fDayReset to GameDaysPassed + 1 set iNanobotCount to 0 endif if (Player.IsInCombat && iNanobotCount < 3) ;In combat player gets 2HP per second for 30 seconds AddItem TCxNanobotCombatRecovery 1 1 EquipItem TCxNanobotCombatRecovery 1 1 set iNanobotCount to iNanobotCount + 1 else ;Regular regen rate set fMicroRegen to ScriptEffectElapsedSeconds / 8 RestoreAv Health fMicroRegen endif end Begin ScriptEffectFinish RemoveItem TCxNanobotCombatRecovery 100 1 End The TCxNanobotCombatRecovery is supposed to be an ingestible that regens 2 HP for 30 seconds. I did it that was because, well, it was easy to make in the GECK. I think the problem may be that I'm using the wrong blocktype, but I've never really messed around with coding this stuff, so I'm still trying to learn the ins and out of each type. Any help is appreciated.
×
×
  • Create New...