 |
 |
 |
|
 |
 |
 |
|
 |
 |
I Am Having A Weird Issue. |
|
« Previous 10 events | 1 2 | All Messages |
|
|
09:22:24 12 July 2012 |
|
Derranged
Senior Resident
 On forum: 04/12/2010
 Message edited by: Derranged 07/12/2012 13:03:38
Messages: 1009
|
Well, it still crashes on Wolf... I hope I still haven't made a mistake in the script... Vintar, maybe I should just send you the file?
EDIT:
Alright, now... before there must've been an Error with Wolfs Preconditions which bugged out every Precondition.
I got rid of Wolfs Preconditions, re-created the weapon ordering Preconditions and here is what works:
function trader_weapon_ak74(actor, npc)
return actor:money() > 10000
end
function trader_weapon_ak74_buy(actor, npc)
dialogs.relocate_money(actor, 10000, "out"
dialogs.relocate_item_section(actor, "wpn_ak74", "in"
end
----
I will now attempt to re-add Wolfs Preconditions and Rewards through these types of scripts. If it starts happening again I will probably tear my hair out.
Whisper Of The Zone: http://www.moddb.com/mods/stalker-whispers-of-the-zone
|
|
« Previous 10 events | 1 2 | All Messages |
|
|
|
» » |
|
All short dates are in Month-Day-Year format. |
 |
|
 |
|
|
|
 |
 |
 |