Jump to content

nadokanya

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by nadokanya

  1. Hello, can someone help me with script or maybe its a package, i dont know

     

    What Im trying to do is to make the companion make a fire and lay bedrolls where i point him. how do i do that? I know that aft uses a similar function, but I can't look at script. because there is no "source" folder which contains data about scripts is stored. help me please( and, yeahm, sorry for my english

  2. Hi, everyone. So, im making a fully voiced follower, who have ability to transform into a werewolf. But i have a troubles with scripting.

    My NPC have to transform when combat gets started and transform back when its over. But something wrong with, i guess, because:

     

    - She transforms into her race (custom), when the battle begins

    - When she finaly turns into a werewolf, she is invisible

    - When she transforms back, her face look different, same with hair, and she is naked

     

    My script:

     

    SPELL Property WerewolfChangeFX Auto
    Actor Property NPC Auto
    Race Property CustomRace Auto
    Race Property WerewolfRace Auto
    Outfit Property OutfitProp Auto
    event oncombatstatechanged(actor aktarget, int combatstate)
    if (combatstate == 1) ;started combat
    WerewolfChangeFX.cast(self)
    if RegisterForAnimationEvent(NPC, "SetRace")
    actorproperty.setrace(WerewolfRace)
    actorproperty.UnequipAll()
    endif
    elseif (combatstate == 0) ;left combat
    NPC.setrace(CustomRace)
    NPC.setoutfit(OutfitProp)
    endif
    endevent
    Well, whats wrong?
×
×
  • Create New...