Scripts for doing this?

Old and generally outdated discussions, with the rare hidden gem. Enter at your own risk.

Moderators: Haplo, Lead Developers

Locked
Nautilus
Member
Posts: 22
Joined: Sun Dec 07, 2003 5:58 am

Scripts for doing this?

Post by Nautilus »

First of all, How would one overcome player resistences? I need it so that a spell will effect the player regardless of his or her resistences.

Second, I know about the Place at pc function, but I don't really know how to use it. Basically I need the script for checking to see if Hermaeus Mora has casted a certain spell, This spell effect will enable Three blank NPC's (a race with no body parts) to the left, to the right, and Behind the player these NPC's need to only be able to cast the the same spell as Hermaeus Mora once then be disabled.

I can do alittle scripting but What I have planned for this I'm going to need alot of help with.

Hope someone can help me, Thanks.
Zarkis
Member
Posts: 23
Joined: Mon Nov 24, 2003 8:56 pm

Post by Zarkis »

First: Get "scripting for dummies".

Now to your questions. I start with the sond one: Here is an excerpt from above mentioned manual:

PlaceAtPC, "Object_ID", direction_enum, distance_enum, number_enum (=number of items placed)

PlaceAtPC, "Secret Message", 0, 30, 1
PlaceAtPC, " ancestor_ghost", 1, 256, 1

This function places a new reference of "Object_ID" near the player. The function lets you define a direction relative to the player where the object is going to appear and a distance (in units). If that location is not safe (in the air, in a wall, etc), the object will be placed at one of the other axis or at the player’s exact location (feet).

direction is:

0 = front
1 = back
2 = left
3 = right

To remove resistances you can either use script commands ( mod ResistFire, -100 ....)or simply put weaken resistance spells on him.
User avatar
Inferno_str1ke
Member
Posts: 1284
Joined: Thu Aug 21, 2003 11:25 am
Location: Manchester, UK
Contact:

Post by Inferno_str1ke »

instead of making it so that the script activates when the spell is cast, why dont you just make a script that happens # seconds into combat, when she would cast the spell anyway, so it looks like casting the spell has done these invisible things. itd be easier im sure.
M1ke
Locked