Jump to content

Katabug

Members
  • Posts

    2
  • Joined

  • Last visited

Nexus Mods Profile

About Katabug

Katabug's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Reacting Well
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Thank you so much for that. I'm really new to this scripting stuff and I had no idea how to do this. I'm gonna do some experimenting and see if I can get this working. Thanks again
  2. I followed Seddon's tutorial on YouTube to make my very first companion. He's just about perfect, except for one small problem, I don't want him to use Ammo, yet for the life of me I can't figure out how to add it in my script. After days of searching, I finally figured out how to make my companion draw his weapon. But I can't find any examples of how to use TeammateDontUseAmmoKeyword. I tried adding: Keyword Property TeammateDontUseAmmoKeyword Auto Const But that didn't work. Anyway, this is my current script. Scriptname NormanCompanion:NormanCompanionScript extends Quest Conditional Int Property Status Auto Conditional {0=Home, 1=Following, 2=Waiting} ReferenceAlias Property Alias_NormCompanion Auto Const Faction Property CurrentCompanionFaction auto Const Keyword Property TeammateReadyWeapon_DO Auto Const Function HireCompanion() Actor Companion = Alias_NormCompanion.GetActorRef() Status = 1 Companion.SetPlayerTeammate(True) Companion.AddToFaction(CurrentCompanionFaction) Companion.AddKeyword(TeammateReadyWeapon_DO) Companion.EvaluatePackage() EndFunction Function FireCompanion() Actor Companion = Alias_NormCompanion.GetActorRef() Status = 0 Companion.SetPlayerTeammate(False) Companion.RemoveFromFaction(CurrentCompanionFaction) Companion.RemoveKeyword(TeammateReadyWeapon_DO) Companion.EvaluatePackage() EndFunction If anybody knows how to do this and can give me an example of what the code should look like, I'd be really grateful.
×
×
  • Create New...