*Dev question* spawn npc through script->pda crash

General talk about Lost Alpha dream project

Moderators: jwknaggs, CruxMDQ, Nemo

*Dev question* spawn npc through script->pda crash

Postby xQd » Mon May 12, 2014 1:40 pm

When I spawn a npc using alife():create everything is fine,he wanders around and attacks everything that represents a treat to him and tries to take over other camps.It all goes well until I go to the Contacts section on the PDA and click his profile image.The game crashes with this error:

Code: Select all
File          : script_engine.cpp
Line          : 75
Description   : <no expression>
Arguments     : LUA error: ...dow of chernobyl\gamedata\scripts\pdacontacts.script:1424: attempt to index local 'npc_info' (a nil value)


All I wanna do is to populate the empty spaces in the zone,in vanilla stalker or in other mods my script works perfectly,nothing happens when messing around in contacts section with the spawned npcs...I would really appreciate your helps on this one,devs.
xQd
Newbie
 
Posts: 9
Joined: Sun May 04, 2014 6:31 pm

Return to Lost Alpha

Who is online

Users browsing this forum: No registered users and 9 guests

cron