Jump to content
⚠ Known Issue: Media on User Profiles ×

jim555511

Members
  • Posts

    11
  • Joined

  • Last visited

Everything posted by jim555511

  1. Hi, thanks for the help. So I have a string of dialogue that occurs between the player and an NPC, I want it so that the NPC will make a punching animation and then the player will blackout after. I'm not sure if I would put this in the ending script fragment of the dialogue, and even then I don't know how I would add in the animation, or if I would put this in a reference alias attached to the actor and player, any help would be much appreciated
  2. So i've been working with global variables a lot recently and i've been wondering which is better to use if you need the global variable to increase and to be able to use that new value in another script. I was also wondering if someone could explain the difference to me between .setvalue and .mod
  3. Hi there, thanks for the help. So i have a message box, lets call it message box A. Message box A has a couple of different selections in it and when a certain selection is made a new message box appears which we'll call message box B. Now i have a back button in message box B but i'm not for sure how to script it, how can i get it so that when you select back on message box B you go back to message box A?
  4. Hi there, thanks for the help. Does anyone know how to increase a players jump height with a script. I just need some ideas, any help would be appreciated
  5. Hi! Thanks for the help. So I'm creating a mod in which a message box will come up with a couple of options. Now I need it so that when the player selects one of these options it gives the player an item. How would I do this?
  6. Hi there! Thank you for the help. So if you're familiar with oblivion then you would be familiar with the acrobatics skill line. I'm going to script something like that but i'm having a bit of trouble finding out how to find out when the player jumps. Any ideas?
  7. Thank you so much, your help is greatly appreciated, makes me feel stupid that i was only missing one thing haha
  8. Hi there, thanks for the help. So i'm trying to create a script that will read the actors health each time they are hit and based off their health percent will cast mage light on them. I've almost got everything working but the only problem is the onhit function. Heres my script Scriptname SecondaryLeonardoScript extends Activemagiceffect Spell Property Magelight autoActor myself event oneffectstart(actor aktarget,actor akcaster)myself = aktargetendevent Event onhit(ObjectReference aktarget, Form aksource,Projectile akprojectile,Bool abPowerAttack,Bool abSneakAttack,Bool abHitBloacked) Float Health = myself.GetActorValue("Health")Float BaseHealth = myself.GetBaseActorValue("Health")Float HealthPercent = (Health/BaseHealth) * 100 if HealthPercent < 0.5Magelight.Cast(myself,myself)endif endevent It gives me a compiling issue and tells me that the onhit function doesn't match the parent script and i am out of ideas, please help :)
  9. Thank you so much for the help. I'll begin looking into this later
  10. Hi there! Thank you for your help if you can So I'm a bit new to scripting and after i went through the tutorial i decided to start on my own but i seem to have hit a wall, I'm trying to create a script that will read the enemy's health on hit and if their health drops below 50% to cast mage light on them. Does anyone know how i might start this. I've tried using the on hit event but it tells me the parent script isn't an object reference
×
×
  • Create New...