Jump to content

Pls help, a request for my weapon design


freefly4405

Recommended Posts

I wanna to design a weapon which the damage can be enhanced by my increasing kills, similar to the Dawnguard Rune Axe. But I am a very noob and I have no idea how to acheive in CK.

 

Actually the damage increment can easy be done, the key point is how to record my killings in the game and how to reference it when I design the Enchantment in CK.

 

the script should be:

Int killcounts

Event OnDeath(Actor akKiller)

if (akKiller == Game.GetPlayer() and Game.GetPlayer().IsEquipped("weapon id"))

killcounts=killcounts+1

endIf

endEvent

 

something like that,

my questions are:

1. where should I put these script then I can activate them when I am killing in the game?

2. If I make a Globalvariables for recording my killings, how should i reference this globalvariable in my scripting?

 

It is appreciated that if you can teach me how to achieve my idea or provide solution to achieve it. Thanks!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...