"Fall" Function

Post » Mon May 07, 2012 1:49 pm

The UESP lists an undocumented function, "Fall." This sounded rather interesting to me... my hope was for a function which could provide effective knowledge of the ground plane. I've scripted the acceleration due to gravity in my projectiles, but I can't know where the ground plane is, making a built in function which does invaluable.

I can't seem to get it to do anything, however -- does anyone know to make use of it? Or does the function just do nothing?
User avatar
Sierra Ritsuka
 
Posts: 3506
Joined: Mon Dec 11, 2006 7:56 am

Post » Mon May 07, 2012 11:33 am

MWEdit gives the description as:
Format: Fall
Returns: None
Desc: Assumably causes the calling object to fall to the ground.

Dunno if that helps you any though. =x
User avatar
Nienna garcia
 
Posts: 3407
Joined: Wed Apr 25, 2007 3:23 am

Post » Mon May 07, 2012 6:06 am

i always thought it causes an NPC to fall as if knocked down.

MWSFD says -

88
Actor->Fall
Seems to give an NPC the extra nudge they may need even after you yank the floor out from
under them. It also brings down flying creatures. Used by the Icarian Flight guy. When I tried
to use this on the player in my climbing mod, it seemed to sometimes "warp" the player
directly to the ground below.
User avatar
Shianne Donato
 
Posts: 3422
Joined: Sat Aug 11, 2007 5:55 am

Post » Mon May 07, 2012 3:17 am

I think it forces the engine to make sure they're standing on something. Yknow how you can occasionally walk off a surface in a cell and not fall, when you really should, but if you jump, then you'll fall? It has to do with the floor being calculated, and jumping (or the fall command) trigger that routine.
User avatar
Pumpkin
 
Posts: 3440
Joined: Sun Jun 25, 2006 10:23 am

Post » Mon May 07, 2012 2:50 am

I had tried it, in my testing, with an activator -- but it makes sense that perhaps it is an actor-only function. Too bad. Thanks for the assistance, everyone!
User avatar
Red Sauce
 
Posts: 3431
Joined: Fri Aug 04, 2006 1:35 pm


Return to III - Morrowind