XP2 Crafting Issue?
NeverwinterWights
Member Posts: 339
I've placed various types of animals and bashable placeables around a test area. They all have OnDeath scripts with the "craft_drop_items" or "craft_drop_placeable" functions (using defaults). I've also altered "x2_inc_compon" a couple different ways to no longer check for crafting skill and/or just check for >=0. But no matter what I do I can't get any crafting components to drop. Not sure what I'm missing. Is it hard coded that no matter what you HAVE to have some crafting skill just for the components to drop?
0
Comments
P.S. I also make sure I "build/compile" module after each change.
OnBlocked=x2_def_onblocked
OnDamaged=x2_def_ondamage
OnDeath=x2_def_ondeath
OnConversation=x2_def_onconv
OnDisturbed=x2_def_ondisturb
OnCombatRoundEnd=x2_def_endcombat
OnHeartbeat=x2_def_heartbeat
OnPhysicalAttacked=x2_def_attacked
OnPerception=x2_def_percept
OnRested=x2_def_rested
OnSpawn=x2_def_spawn
OnSpellCast=x2_def_spellcast
OnUserDefined=x2_def_userdef
Now some of these run extra functions and then "ExecuteScript" the default old NW scripts. Not sure if this is why but it may have something to do with it.