Jump to content

Scripting help.


IronPlatypus

Recommended Posts

Uhm, going to need a trigger somehow, but...
begin %blocktype

if player.getItemCount caps001 >= %CONSTANT_1
player.removeItem caps001 %CONSTANT_1
YourObjectREF.enable
endIf

end
Obviously that's useless as is, except as a template. Edited by Xaranth
Link to comment
Share on other sites

In that case, you can delete the 'blocktype' and 'end' lines, and just make a Dialogue Result script:
player.removeItem caps001 NUMCAPS
yourObjectREF.enable
and use dialogue topic conditions to handle making sure the player has the caps required.
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...