Prove to me that IsPlayerMovingIntoNewSpace works in a scrip

Post » Tue Feb 15, 2011 10:32 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
Natalie Harvey
 
Posts: 3433
Joined: Fri Aug 18, 2006 12:15 pm

Post » Tue Feb 15, 2011 5:28 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
CxvIII
 
Posts: 3329
Joined: Wed Sep 06, 2006 10:35 pm

Post » Tue Feb 15, 2011 10:47 am

In the vanilla game its only used in Package conditions.
User avatar
Nikki Morse
 
Posts: 3494
Joined: Fri Aug 25, 2006 12:08 pm

Post » Tue Feb 15, 2011 12:58 am

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
Dagan Wilkin
 
Posts: 3352
Joined: Fri Apr 27, 2007 4:20 am

Post » Tue Feb 15, 2011 8:48 am

I too, found this function to be useless for scripting and gave up on it.
User avatar
Darrell Fawcett
 
Posts: 3336
Joined: Tue May 22, 2007 12:16 am

Post » Tue Feb 15, 2011 8:49 am

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
Izzy Coleman
 
Posts: 3336
Joined: Tue Jun 20, 2006 3:34 am


Return to Fallout 3