Jump to content

How can I force the PC to do something?


Recommended Posts

Posted

I want to make the PC travel to a certain location (probbly will disable pc controls too). I don't think I can add AI packages to the PC. It wouldn't make much sense.

Posted

fadetoblack, using one of the imagespace modifiers that does it & the imod command

playerref.moveto someref

fadefromblack, using one of those imagespace modifiers

 

is how I'd do it. It does mean you don't get to see the PC walk all the way, but that'd be pretty tricky.

Posted

There are two ways,

 

1) Use sexout's callbacks (See API), you can cast a spell or add an item after sex has finished. You can also make an NPC startconversation or run a package, but this can be unreliable, and I wouldn't recommend relying on it alone for critical stuff.

 

2) This is what I usually do- use a quest script that updates every ~5 seconds along the lines of:

int iStage
 
Begin GameMode
 
   if iStage == 0
      call Sexout for the animation
      set iStage to 10
      return
   elseif iStage == 10
       if eval (call fnSexoutActorInUse ActorREF)
           return ; # Player is still having sex, so wait.
       else
           do whatever you want to happen after sex has finished
           set iStage to 20
       endif
   endif
...

The key function here is fnSexoutActorInUse, which returns true if an actor is busy having sex.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...