Jump to content

[LE] What is wrong with my script ? :) [8]


Recommended Posts

This time something small :D lel

 

this script should play magic effect on player and damage player

 

 

 

here is script

 

  Reveal hidden contents

 

 

anything to fix, do better ?

im not even sure it will work cause i can't test it now xD

 

but its compiling fine :D

Link to comment
Share on other sites

I didn't compile it, but i've used so many times this kind of scripts that should be working just fine.

 

  Reveal hidden contents

 

 

 

Don't forget to set this in the Script's properties.

Keyword = DB10MagicHeavyFire
Explosion = DB10TrapFireTriggerExplosion01
You might not need:
PlayerREF.DamageActorValue("Health", 100.0)
Because the MagicHeavyFire & TrapFire do quite some damage
And the:
VisualFX01.Play(PlayerREF)
Because the FireTriggerExplosion does a nice FX, but that is up to you.
* The VisualEffects are use for Camera Attach Particles and the EffectShaders for FX to the actor (around the actor's body).
Edited by maxarturo
Link to comment
Share on other sites

  • Recently Browsing   0 members

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