"Fall" Function

Post » Wed Nov 30, 2011 7:19 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
Rachie Stout
 
Posts: 3480
Joined: Sun Jun 25, 2006 2:19 pm

Post » Wed Nov 30, 2011 6:32 pm

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
Jeff Turner
 
Posts: 3458
Joined: Tue Sep 04, 2007 5:35 pm

Post » Wed Nov 30, 2011 6:32 pm

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
Nice one
 
Posts: 3473
Joined: Thu Jun 21, 2007 5:30 am

Post » Thu Dec 01, 2011 2:28 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
No Name
 
Posts: 3456
Joined: Mon Dec 03, 2007 2:30 am

Post » Wed Nov 30, 2011 5:50 pm

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
Vera Maslar
 
Posts: 3468
Joined: Wed Sep 27, 2006 2:32 pm


Return to III - Morrowind