FANDOM



The Icy Stare of a Statue

What it does

Causes the nearest object with a tag of 'BeamStatue' to fire a cold beam at the PC that walks in front of it. It currently does 2d6 points of damage.


Notes

Pretty clear, I think. The colors of the beams are editable (change the eBeam) and the damage (change the eDMG) is as well. It also repeats nicely, I used several of them in a room that guarded an important chamber. Easy to dodge if you know what you're looking for, but most people will charge right in...


The Script Itself

put the script on a Generic Trigger's onEnter

cs_beamstat

void main()
{
object oPC = GetEnteringObject();
object oStatue = GetNearestObjectByTag("BeamStatue");
effect eBeam = EffectBeam(VFX_BEAM_COLD,oStatue,BODY_NODE_HAND,FALSE);
effect eDMG = EffectDamage( d6(2) ,DAMAGE_TYPE_COLD);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eBeam,oPC,1.0);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eDMG,oPC,0.0);
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.