Jump to content

How can I script DISABLE on a character


Caiman

Recommended Posts

Hi guys,

 

I´m currently working on a quest. The player either has the choice to kill a guy or talk him into leaving forever...

 

Now I´m using a scene to make the nsc leave after he got convinced to leave.

 

I want him to go to the bottom left border and then just disappear... which means I have to "Disable" him.

 

I tried to to insert this script(properties properly set) into the end of the scene or in a queststage... but neither compiles. :S

CK keeps telling me "Disable" is no function!

 

QuestStage

if GetOwningQuest().GetStage < 49
Alias_Dad.GetRef().Disable()
endif

OnEnd Scene

Alias_Dad.GetRef().Disable()

Edited by Caiman
Link to comment
Share on other sites

Hi guys,

 

I´m currently working on a quest. The player either has the choice to kill a guy or talk him into leaving forever...

 

Now I´m using a scene to make the nsc leave after he got convinced to leave.

 

I want him to go to the bottom left border and then just disappear... which means I have to "Disable" him.

 

I tried to to insert this script(properties properly set) into the end of the scene or in a queststage... but neither compiles. :S

CK keeps telling me "Disable" is no function!

 

QuestStage

if GetOwningQuest().GetStage < 49
Alias_Dad.GetRef().Disable()
endif

OnEnd Scene

Alias_Dad.GetRef().Disable()

 

 

Try Delete()?

 

-MM

Link to comment
Share on other sites

In a tutorial it said something like "Don´t Fkkk with delete or it will fkkk with saves"... is it "save" to delete an actor?

 

EDIT:

It says "Delete is not a function." :S

Edited by Caiman
Link to comment
Share on other sites

  • Recently Browsing   0 members

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