Hello,
For a roleplaying fansite I am trying to give visitors a convenient way to make people add items to their game. They need to enter hexcodes for items and I'd like to help with the task.
What i have now is a list that is basically like this:
Selecting the first options should give the bolded output. What I have so far is:
How can I get the skcommand output to a page and dynamically update it if I change selections?
Thanks in advance.
Michael
For a roleplaying fansite I am trying to give visitors a convenient way to make people add items to their game. They need to enter hexcodes for items and I'd like to help with the task.
What i have now is a list that is basically like this:
Code:
<h2>Create Item Links</h2> <form name="frmSelect"> <select id="Location" name="Location"> <option value="player.placeatme">Place at Player</option> <option value="player.additem">Place in Inventory</option> </select> <select id="Item-ID" name="Item-ID"> <option value="43e1e">Alessandra's Dagger</option> <option value="79b1d">Blade of Sacrifice</option> </select> <select id="Amount" name="Amount"> <option value="1">1</option> <option value="2">2</option> </select> </form> Use this code in Skyrim's Console to receive the Item: [B]player.additem 431e1 1[/B]
Code:
<script type="text/javascript"> function get_skcommand() { var skcommand = document.getElementById('location').value + document.getElementById('itemid').value + document.getElementById('amount').value; } </script>
Thanks in advance.
Michael
Comment