OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: benreeper on 17 Aug 2003, 18:17:27

Title: Moving Enable
Post by: benreeper on 17 Aug 2003, 18:17:27
I have

Moving Enable = true

in my Description.ext and the dialogues were never able to move so I assumed that there was no functionality with this command.  However, one of my dialogues started moving (after 6 months of never moving).  I turned Moving Enable to false but they still move.  Also I have a dialogue that I want to move, it is set to true, and it doesn't.

The quiestion:
What's the deal?  Does this command work and what else is required in my escription.ext to make it work correctly (i.e is there something in the dialogue I have to make, such as a grab bar).
Title: Re:Moving Enable
Post by: Komuna on 26 Aug 2003, 11:03:21
Yep... I have the same Q...

Hey! But this just occured to me:

Doen't MoveEnable concern to the player, if he actually can move or not?

I've noticed that, with the dialogues I've ever test, the player always moves, but I didn't figure out that it could be associated with MovingEnable...

Try it and tell us something, Okay? ;)
Title: Re:Moving Enable
Post by: KTottE on 26 Aug 2003, 12:06:41
Hm, from what I remember, movingEnable is whether or not the player can click the dialog and move it around. You know how you can click the notepad and the laptop etc. and move them around?
Well, movingEnable = false; prevents people from doing that.
Title: Re:Moving Enable
Post by: Komuna on 26 Aug 2003, 12:11:26
Have you tested it? benreeper tried it and it didn't work...
C'mon, I'm curious! ;D
Title: Re:Moving Enable
Post by: Spinor on 26 Aug 2003, 12:39:22
In 2D dialogs, its the TITLE style that does the trick. A control
with that style can be used as a handle to click and drag the
dialog. AFAIK, movingEnable has no influence on 2D dialogs.

Maybe it only applies to 3D dialogs, but I haven't tested that
yet.
Title: Re:Moving Enable
Post by: KTottE on 26 Aug 2003, 12:44:42
Ok, just did some testing. I was unable to achieve any effect at all with movingEnable.
Not with 3D dialogs, not with 2D dialogs. It didn't enable or disable the player from moving the dialog (3D can be moved, 2D not), and it didn't enable or disable the player from walking around or looking around.

Weird.
Title: Re:Moving Enable
Post by: Komuna on 26 Aug 2003, 13:24:17
Weird.

EhEhEh! Long live OFP! ;D
Title: Re:Moving Enable
Post by: benreeper on 27 Aug 2003, 02:07:51
Thanks guys.
The odd thing is it juat started with one dialogue.  It appears to be random.

Ben
Title: Re:Moving Enable
Post by: rbond on 29 Aug 2003, 14:59:40
how do i disable then Enable the players ability to move.
Title: Re:Moving Enable
Post by: Komuna on 30 Aug 2003, 01:52:17
I've never tryied, but, once again, I just came out with this idea:

SetAccTime 0

Indeed, it will freeze everything around, but the player will still be able to move the cursor (The body won't move, and he won't fire)!

Check it out!