SKYRIM MOD作成支援/相談スレ Part3at GAME
SKYRIM MOD作成支援/相談スレ Part3 - 暇つぶし2ch64:名無しさんの野望
12/07/14 21:44:24.76 PMzJVzhk
Scriptname CowMilk extends ObjectReference
Potion property box1 auto
Potion property box2 auto
Potion property box3 auto

int count = 0

Event OnActivate(ObjectReference akActionRef)
 Potion chosenPotion
if akActionRef == game.getplayer()

; この辺に朝になったら countを 0 にする処理をいれる

count = count + 1
if currentCount == 1
chosenPotion = box1
elseif currentCount == 2
chosenPotion = box2
else
chosenPotion = box3
endif
game.getplayer().additem(chosenPotion)
endif
endEvent

これで一応動作は可能だと思うけど、そのままだとずっと3以上になり続ける


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch