The Elder Scrolls Forums

TES Construction Set and Plugins >> General TES Construction Set

Pages: 1
DonTremb
Layman

Reged: 08/09/04
Posts: 7
Loc: Iraq
A check for no equipment and prevent spellcasting
      #2906750 - 08/09/04 08:53 AM

I was wondering if it would be possible to run a check to see if a character had any equipment? Part of a mod that I'm going to start working on will require the player to have no equipment. He will be able to get equipment, but if he does have any, I want it to trigger some kind of script.

Also, is there a way to prevent a player from using any magic spells that he has?

Thanks.

--------------------
"And if it wasn't for my horse, I would never have gone to college."

Post Extras: Print Post   Remind Me!   Notify Moderator  
JOG
Curate

Reged: 09/15/02
Posts: 745
Re: A check for no equipment and prevent spellcasting [Re: DonTremb]
      #2906936 - 08/09/04 10:22 AM

The only way to do this is as follows:

- You need to make the player go trough a hall with a container and a scripted door/grate.

- Remember player's strength, set it to 0.01, teleport him right in front of the container. And display a message that he should drop all his stuff and go trough the door.

- The player can't move untill he dropped everything that has a weight When the can move again and goes trough the door, An activator on the floor of the other side closes the door, when the player is near and sets player strength back to original value.


As for Spells: You can disable all spells (Disableplayercasting). Or you can disable Teleporting (Disableteleporting) and Levitation (Disablelevitating)

You can also remove certain pre-made spells from the player's list of known spells (removespell), but there is no way to remove spells the player created ingame.






--------------------
Havish (Updated to v1.2 !!!)

Pirates! (WIP)

My Morrowind Corner

Post Extras: Print Post   Remind Me!   Notify Moderator  
DonTremb
Layman

Reged: 08/09/04
Posts: 7
Loc: Iraq
Re: A check for no equipment and prevent spellcasting [Re: JOG]
      #2906942 - 08/09/04 10:25 AM

Wow! That's great! Answered all my questions flawlessly. I can use that advice pretty much verbatim in my mod. Thank you so much!

--------------------
"And if it wasn't for my horse, I would never have gone to college."

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1


Extra information
1 registered and 4 anonymous users are browsing this forum.

Moderator:  Umrahel, Freddo, Pete, Hungry Donner, Attrebus, Miltiades, tegger 

Print Thread

Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Thread views: 28

Rate this thread
 
Jump to

The Elder Scrolls Homepage

*
UBB.threads™ 6.3

Click for Privacy Statement 2003 Bethesda Softworks LLC, a ZeniMax Media company. All Rights Reserved.
PRIVACY POLICY | TERMS & CONDITIONS | LEGAL INFORMATION | CONTACT US