Jump to content

Trying to get brahmin to talk to player but wont move.


UglyDucklingStudios

Recommended Posts

I'm trying to get a Brahmin to talk to a player after a certain thing but for some reason the brahmin I have to talk to the player wont move to start the coversation with the player. Here is the code I am using to do so:

 

scn 00OsamaBinBrahminDialogStarter

begin GameMode

 

short DoOnce

 

if OsamaBinBrahmin3.GetHealthPercentage <= 0.20 && DoOnce == 0

OBBPassiveREF.Enable

OBBPassiveREF.MoveTo OsamaBinBrahmin3

OsamaBinBrahmin3.Disable

SetStage 00OBB 102

DisablePlayerControls 0 1 1 1

OBBPassiveREF.StartConversation Player, 00KOBBOsamaBinBrahmin0

set DoOnce to 1

endif

end

 

Anyone know whats wrong? Because I can't figure it out. If you know please tell me. That would be awesome.

Link to comment
Share on other sites

scn 00OsamaBinBrahminDialogStarter

begin GameMode

 

short DoOnce

 

if OsamaBinBrahmin3.GetHealthPercentage <= 0.20 && DoOnce == 0

OBBPassiveREF.Enable

OBBPassiveREF.MoveTo OsamaBinBrahmin3

OsamaBinBrahmin3.Disable

SetStage 00OBB 102

DisablePlayerControls 0 1 1 1

OBBPassiveREF.SayTo Player 00KOBBOsamaBinBrahmin0 1

set DoOnce to 1

endif

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

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