User:MW2366

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Welcome to the Wiki! I noticed your question, which is something that should be asked on the Forums, so please direct your question there if my answer below is insufficient.

What you're trying to do is perfectly possible, but as you noted there's no direct way to see if the player has leveled up. You can overcome that problem by keeping a record of the player's level and check if the current level is different. Like this:

short PCLevel

Begin GameMode
  if (PCLevel < player.GetLevel)    ;; see if the player's level changed since last recording it
    set PCLevel to player.GetLevel  ;; update the record
    LevelHorse.ModScale 0.1275
  endif
End

Also, you're using the Set command to change the horse's stats, use SetActorValue instead. I hope that helps, if you have any other question please make a thread on the forums. Your question is now tagged for deletion and will eventually be removed.
--Qazaaq 18:35, 9 December 2008 (EST)

Right... sorry about that Qazaaq... and thanks for giving me a tip on that little snag in my script. In the future, I'll use the Forums. >.>'

--MW2366 14:11, 18 December 2008 (EST)