Jump to content

bg2 scripting wake up from sleep


vanatos

Recommended Posts

Hi, i have a script to put characters (player1 etc) to sleep with a spell. I want to awaken them and see them stand up.

Ive played around creating custom spells and using spell effect 'cure sleep' this merely removes the sleep status but their still lying on the ground. How do i make them stand up?

 

Link to comment

Hmmm, according to the IESDP the "cure sleep" effect doesn't remove the helpless state. If you look at cutscenes you'll get a good idea of what the game uses to mimic sleep (PlayDead, etc.), such as when our characters are "knocked out" during a scene, then get up and walk toward an actor, etc. Scenes involving Jon Irenicus do this as I recall.

Link to comment

Ahh ive tried playing around with PlayDead, it seems that command 'blocks' a script per the wait period specified in it.

while i needed a 'sleep' animation that i can interrupt at certain points on my discretion via scripts.

 

Maybe there is no way, thanks for having a look.

Link to comment

The only other thing I can think of, since I haven't spent much time with the sleep system, is perhaps employing scripted Sequences via SEQ.IDS  which cause the character to perform various actions, including AWAKE.

Edited by Endurium
edited to specify BG2 IDS
Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...