Prove to me that IsPlayerMovingIntoNewSpace works in a scrip

Post » Sat Dec 03, 2011 4:48 am

I've tried this function in scripting, both menumode and gamemode and it seems to do NOTHING.

When I use the function in menumode object script, I put like this:


short checkbegin MENUMODEif IsPlayerMovingIntoNewSpace     set check to 1endifendbegin GAMEMODEif check == 1     showmessage genericdebugmsg     set check to 0endifend



and I never see anything (fast travel as primary testing means).

When I do all of it in gamemode as so, I still never see anything:


short checkbegin GAMEMODEif IsPlayerMovingIntoNewSpace     set check to 1else     if check == 1          showmessage genericdebugmsg          set check to 0     endifendifend


I doan think this thing works in a script, at this point!
User avatar
Michael Korkia
 
Posts: 3498
Joined: Mon Jul 23, 2007 7:58 pm

Post » Sat Dec 03, 2011 1:20 am

I've tried this function in scripting, both menumode and gamemode and it seems to do NOTHING.

When I use the function in menumode object script, I put like this:


short checkbegin MENUMODEif IsPlayerMovingIntoNewSpace     set check to 1endifendbegin GAMEMODEif check == 1     showmessage genericdebugmsg     set check to 0endifend



and I never see anything (fast travel as primary testing means).

When I do all of it in gamemode as so, I still never see anything:


short checkbegin GAMEMODEif IsPlayerMovingIntoNewSpace     set check to 1else     if check == 1          showmessage genericdebugmsg          set check to 0     endifendifend


I doan think this thing works in a script, at this point!


I think I was imagining things when I thought it was helping me with a problem I was having. I quit trying to use it.
User avatar
Jesus Duran
 
Posts: 3444
Joined: Wed Aug 15, 2007 12:16 am

Post » Sat Dec 03, 2011 3:32 am

In the vanilla game its only used in Package conditions.
User avatar
jesse villaneda
 
Posts: 3359
Joined: Wed Aug 08, 2007 1:37 pm

Post » Fri Dec 02, 2011 10:34 pm

In the vanilla game its only used in Package conditions.


This is indeed sounding more and more like this function cannot be used in a script. That's disappointing!! I wonder if it was meant to be this way or if the script compiler has an issue.

I will post in the bugs forum for the heck of it.

Meantime, maybe the WIKI should see an update, unless someone can demonstrate this thing positively working in a script.
User avatar
Ben sutton
 
Posts: 3427
Joined: Sun Jun 10, 2007 4:01 am

Post » Fri Dec 02, 2011 10:41 pm

I too, found this function to be useless for scripting and gave up on it.
User avatar
Lynne Hinton
 
Posts: 3388
Joined: Wed Nov 15, 2006 4:24 am

Post » Fri Dec 02, 2011 8:21 pm

I too, found this function to be useless for scripting and gave up on it.

Yep.. ditto. I've cheated using blank packages, just so I can use the result script and take advantage of this conditional, but never got a return when used in a script.
User avatar
Cash n Class
 
Posts: 3430
Joined: Wed Jun 28, 2006 10:01 am


Return to Fallout 3