Question about smart terrains

Arszi
Scavenger
Posts: 36
Joined: 04 Jan 2018, 06:45

Question about smart terrains

Postby Arszi » 01 Apr 2018, 12:10

I'd like to ask two questions regarding smart terrains:

1, How can I see smart terrains on the PDA? After setting the game in debug mode, I had to press a button, but I can not find the describtion, which button should I press.

2, How can I get, on which smart terrain is the actor or a monster/npc in LUA script?

User avatar
DoctorX
Trespasser
Posts: 57
Joined: 10 Mar 2016, 00:36

Re: Question about smart terrains

Postby DoctorX » 02 Apr 2018, 00:39

1. Enable "Debug Hud" in UI options

2. smart_terrain.nearest_to_actor_smart.id for actor, xr_gulag.get_npc_smart(npc) for npc

Arszi
Scavenger
Posts: 36
Joined: 04 Jan 2018, 06:45

Re: Question about smart terrains

Postby Arszi » 02 Apr 2018, 10:23

Thank you very much DoctorX!


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest

cron