Script: PCisSwimming function (is their any?)

Post » Tue Jun 19, 2012 11:11 am

I am struggling to find a similar function to this one..

I know theirs one in the GECK for checking if the PC is swimming or but I cant seem to find something similar for the papyrus.

Anyone know what the syntax is if their is one?
User avatar
Da Missz
 
Posts: 3438
Joined: Fri Mar 30, 2007 4:42 pm

Post » Tue Jun 19, 2012 7:23 pm

There's no Papyrus function for it anymore. You can instead :

1) Create a Magic Effect on self with a Script with OnEffectStart/Stop EVENT
2) Create a Spell on self with this Magic Effect
3) Choose IsSwimming as condition for the ME in the Spell

This returns correctly if the Player is swimming.
User avatar
Alister Scott
 
Posts: 3441
Joined: Sun Jul 29, 2007 2:56 am

Post » Tue Jun 19, 2012 2:16 pm

I think I heard that the SKSE team said they would be able to implement console functions rather quickly. So if you can wait a bit I guess it will be implemented in the foreseeable future.
User avatar
Andrea P
 
Posts: 3400
Joined: Mon Feb 12, 2007 7:45 am

Post » Tue Jun 19, 2012 1:29 pm

There's no Papyrus function for it anymore. You can instead : 1) Create a Magic Effect on self with a Script with OnEffectStart/Stop EVENT 2) Create a Spell on self with this Magic Effect 3) Choose IsSwimming as condition for the ME in the Spell This returns correctly if the Player is swimming.

That svcks... but you gave me a good idea for a new spell :biggrin:
User avatar
Shelby Huffman
 
Posts: 3454
Joined: Wed Aug 08, 2007 11:06 am


Return to V - Skyrim