Post reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.
Name:
Email:
Subject:
Message icon:

Verification:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?:

shortcuts: hit alt+s to submit/post or alt+p to preview


Topic Summary

Posted by: Diana
« on: February 28, 2005, 08:36:29 AM »

Thanks - shall do! Yep, it works!  The 'familiar type .cre exhibits distress now since I coded the check in its script.  With a familiar you don't see the icon like on an npc.  Thanks a million!
Posted by: Avenger_teambg
« on: February 27, 2005, 12:46:09 PM »

I think you better use checkstatgt 0, as fatigue is a much cheaper effect.
Posted by: Diana
« on: February 26, 2005, 04:00:51 PM »

Don't know yet.  I added the test to the script but I'm not now in an area with vamps or Shadow Fiends.

I've added this part to a scripting block for the creature I want to test it on

IF
CheckStatGT(Myself,5,LEVELDRAIN)
THEN
RESPONSE #100
DisplayStringWait(Myself,~Level Drain - W Block 5~)
PauseGame()

etc.

and I'm waiting to see if it will work.  I didn't see a number range for LEVELDRAIN so I'm taking '5' as what I've seen from examples using FATIGUE.
Posted by: Avenger_teambg
« on: February 26, 2005, 02:35:52 PM »

Does it work?
Posted by: Diana
« on: February 26, 2005, 12:50:18 PM »

Muchas gracias, merci beaucoup and all that jazz!
Posted by: Avenger_teambg
« on: February 26, 2005, 08:11:34 AM »

??? I looked at both state.ids and stats.ids and saw no keyword that looked anything like a test for this.

Thanks.
You can find it in stats.ids

200 LEVELDRAIN
Posted by: Diana
« on: February 25, 2005, 05:18:08 PM »

I want to script a controlled creature - familiar-type, to run away if it has been attacked by Vamps or Shadows if they have done the enegy drain/level drain action on it.

Probably easier to script the creature to run away if it sees Vamps or Shadows.
Posted by: Andyr
« on: February 25, 2005, 04:55:40 PM »

Depends on what exactly you want it for... Something like this might work but would be messy on a large scale:

- Have a script check stats for the PC on creation/party members on joining.
- Have it set globals to equal the stat(s) you are interested in. And stop the check repeating.
- Have your check check the stats again, and compare the values of the globals (I think there is a command to compare values).

This way you'd also be able to check stat/level increases.
Posted by: Diana
« on: February 25, 2005, 03:41:47 PM »

 ??? I looked at both state.ids and stats.ids and saw no keyword that looked anything like a test for this.

Thanks.