ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Logic script questions

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  13:24:45  16 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
06/16/2012 13:25:15
Messages: 240
Logic script questions

I have a question about logic script
How can i say that a NPC go every behind the actor???
  12:39:09  19 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
can nobody help me?
Please help me
  21:16:47  20 June 2012
profilee-mailreply Message URLTo the Top
Daemonion
All About Audio
(Resident)

 

 
On forum: 09/27/2011
 

Message edited by:
Daemonion
06/20/2012 21:17:24
Messages: 567
Well, I imagine that you are going to need to create a new waypoint system using the Level Editor and trigger that with your [logic].


That is just a guess, though, as I haven't worked with waypoints. I would recommend starting here:

http://sdk.stalker-game.com/en/index.php?title=Logic#Flag_system
  01:22:37  21 June 2012
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
Messages: 1070

---QUOTATION---
NPC go every behind the actor
---END QUOTATION---



Can you be more specific? I mean, are you asking for something like... to check in the npc is behind the actor/player?

If that is the case, you can try to check if 'npc NOT see actor' and 'actor distance to actor lower than x metters'. I know it's not the same, but


---QUOTATION---


[logic]
active = remark@test

[remark@test]
no_move = true
anim = sit_ass
on_info = {!see_actor =rostok_dist_to_actor_le(5)} nil %=kill%


---END QUOTATION---



So he dies ONLY if he does NOT see you AND if you are closer than 5 metters from him.


Well it's not what you asked but, it's a start... right?
  16:12:24  21 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---
NPC go every behind the actor

Can you be more specific? I mean, are you asking for something like... to check in the npc is behind the actor/player?

If that is the case, you can try to check if 'npc NOT see actor' and 'actor distance to actor lower than x metters'. I know it's not the same, but



[logic]
active = remark@test

[remark@test]
no_move = true
anim = sit_ass
on_info = {!see_actor =rostok_dist_to_actor_le(5)} nil %=kill%



So he dies ONLY if he does NOT see you AND if you are closer than 5 metters from him.


Well it's not what you asked but, it's a start... right?
---END QUOTATION---



no that is not waht i will but type
I will that a NPC go the avtor every behinde the actor no matter he goes. The NPC goes behinde the Actor. He follows the Actor.
I hope you can work with that better
  16:54:05  21 June 2012
profilee-mailreply Message URLTo the Top
insanelazarez
Yeah, Good Luck With That...
(Resident)

 

 
On forum: 01/31/2009
Messages: 1070

---QUOTATION---
NPC go every behind the actor

Can you be more specific? I mean, are you asking for something like... to check in the npc is behind the actor/player?

If that is the case, you can try to check if 'npc NOT see actor' and 'actor distance to actor lower than x metters'. I know it's not the same, but



[logic]
active = remark@test

[remark@test]
no_move = true
anim = sit_ass
on_info = {!see_actor =rostok_dist_to_actor_le(5)} nil %=kill%



So he dies ONLY if he does NOT see you AND if you are closer than 5 metters from him.


Well it's not what you asked but, it's a start... right?

no that is not waht i will but type
I will that a NPC go the avtor every behinde the actor no matter he goes. The NPC goes behinde the Actor. He follows the Actor.
I hope you can work with that better
---END QUOTATION---




Ah... ok, you want a companion mod.

Well i found this one:

[link]http://us4.dl.desura.com/dl/933b28689fa26d5d9c9db3e716c8e9fd/4fe32735/2011/12/25/KZ_Companion_1.9C_Eng.7z[/link]
  16:58:20  21 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---
NPC go every behind the actor

Can you be more specific? I mean, are you asking for something like... to check in the npc is behind the actor/player?

If that is the case, you can try to check if 'npc NOT see actor' and 'actor distance to actor lower than x metters'. I know it's not the same, but



[logic]
active = remark@test

[remark@test]
no_move = true
anim = sit_ass
on_info = {!see_actor =rostok_dist_to_actor_le(5)} nil %=kill%



So he dies ONLY if he does NOT see you AND if you are closer than 5 metters from him.


Well it's not what you asked but, it's a start... right?

no that is not waht i will but type
I will that a NPC go the avtor every behinde the actor no matter he goes. The NPC goes behinde the Actor. He follows the Actor.
I hope you can work with that better


Ah... ok, you want a companion mod.

Well i found this one:

[link]http://us4.dl.desura.com/dl/933b28689fa26d5d9c9db3e716c8e9fd/4fe32735/2011/12/25/KZ_Companion_1.9C_Eng.7z[/link]
---END QUOTATION---



Thank you i laod this mod.
When i have question that i ask you
 
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-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.