ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Call of Pripyat Forum » Questions and Suggestions to Developers
[Q]Setting required items in function

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  18:25:21  8 October 2012
profilee-mailreply Message URLTo the Top
kubekpop
(Novice)
 
On forum: 12/19/2011
Messages: 1
[Q]Setting required items in function

Hi. I have a problem.

function actor_has_mp5(first_speaker, second_speaker)
return db.actor bject("wpn_mp5" ~= nil
end

How to set in this to make it returning only when actor has 2 pieces of mp5 in inventory? It's a precondition of dialog, which has to appear only when actor has 2 or more mp5
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Call of Pripyat Forum » Questions and Suggestions to Developers
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2021 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.