ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
CoP-Cs features in SoC

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  20:46:14  18 January 2014
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
It's simply because after you spawn the object, it is offline, and you try to eat it straight away. The engine updates 3 times per second, and so you would need to wait at least half a second before using it. The bind_stalker method works because it will keep trying to eat the bandage etc. until it can.
  12:06:37  19 January 2014
profilee-mailreply Message URLTo the Top
SacriPan
Senior Resident
 

 
On forum: 09/20/2009
Messages: 319
@all
Thanks for you answers


@Vintar
Yeah, I figured that out afterwards
I had the same problem with an other script which had to "unhide" my weapon. It didn't work in my script and I had to do it via the bind_stalker.update() too.

Well, at least, I got it working and the code is not too complicated
 
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.: Shadow of Chernobyl Forum » Mod discussion
 

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


 

Copyright © 1995-2020 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.