marchitek Posted May 1 Share Posted May 1 IESDP says: Quote 135 LockScroll() This action locks the screen on the active creature, preventing the screen from being scrolled away. The action only works from a creature script. (link) This is not true in BGEE v2.6. where it works from global scripts when used with ActionOverride(). It is also used in game cutscenes scripts. --- I made similar post earlier, but it seems to be gone because of server problems. Quote Link to comment
Bubb Posted May 1 Share Posted May 1 (edited) The wording isn't the best. What the IESDP means is that the action only works when executed by a creature. So yeah, ActionOverride()'ing it onto a creature / using it in cutscene scripts (where actions are executed by CutSceneId) works. Edited May 1 by Bubb Quote Link to comment
marchitek Posted May 2 Author Share Posted May 2 13 hours ago, Bubb said: The wording isn't the best. What the IESDP means is that the action only works when executed by a creature. So yeah, ActionOverride()'ing it onto a creature / using it in cutscene scripts (where actions are executed by CutSceneId) works. Ok. I would know for the future that it is always equivalent. This was kind of oblivious to me that this action need some creature to be "active creature" to work properly, that is why I thought "The action only works from a creature script." brings some new information. Quote Link to comment
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.