Home   Help Search Login Register  

Author Topic: Remove "Greeting" actions.  (Read 2208 times)

0 Members and 1 Guest are viewing this topic.

Offline JamesF1

  • Editors Depot Staff
  • *****
    • JamesBurgess.co.uk
Remove "Greeting" actions.
« on: 25 Jun 2009, 18:34:58 »
Does anyone know of a way to remove greeting/reporting actions from units?  I have a few civilians in a mission that I want to add custom talking options to, and I don't want the units to "auto-greet" me, nor do I want the player to be able to interact with the units using the 'default' method.  Couldn't find anything suitable on a quick scan through the new scripting commands, and I presume removeAction isn't going to work, as we don't know the action ID, etc.

Offline Gaia

  • Members
  • *
  • Bohemia Interactive Senior Game Designer
    • My personal webpage (only in Czech)
Re: Remove "Greeting" actions.
« Reply #1 on: 26 Jun 2009, 17:38:12 »
Code: [Select]
unit setVariable ["BIS_noCoreConversations", true]

Offline JamesF1

  • Editors Depot Staff
  • *****
    • JamesBurgess.co.uk
Re: Remove "Greeting" actions.
« Reply #2 on: 26 Jun 2009, 18:22:25 »
Excellent, thanks  :D

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Remove "Greeting" actions.
« Reply #3 on: 29 Jun 2009, 07:35:21 »
Is it possible to turn off the ALL default conversations?

I know, I can do a huge loop for every NPC in the map and set this variable, but is there a cheaper way?
Fix bayonet!

Offline ViperMaul

  • Members
  • *
    • Theatre Of War (Team PvP Campaign)
Re: Remove "Greeting" actions.
« Reply #4 on: 29 Jun 2009, 18:20:19 »
Excellent, thanks Gaia!
ViperMaul
Theatre of War (Co-Lead Dev)
ACE (Jr Project Manager)

Offline Supergrunt

  • Members
  • *
Re: Remove "Greeting" actions.
« Reply #5 on: 01 Jul 2009, 08:21:07 »
Is it possible to turn off the ALL default conversations?

I know, I can do a huge loop for every NPC in the map and set this variable, but is there a cheaper way?

i have seen in one of the single player missions tha they added an option like that to the player and probably (not tested yet) kills all greetings etc. towards the player with that code

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: Remove "Greeting" actions.
« Reply #6 on: 01 Jul 2009, 11:20:16 »
Oh, well. So if I use
Code: [Select]
player setVariable ["BIS_noCoreConversations", true]in the init script, the player can not use the convarsation with every NPC in the whole map?
Fix bayonet!

Offline Doolittle

  • Contributing Member
  • **
  • _this select 0
Re: Remove "Greeting" actions.
« Reply #7 on: 31 Aug 2009, 04:49:26 »
Good ques. bardosy. My question is where exactly is BIS_noCoreConversations checked?! I can't find the .fsm or .sqf that actually does the talking stuff. Is it a module??

Edit: Nevermind, found in characters.pbo!
« Last Edit: 31 Aug 2009, 21:27:03 by Doolittle »