CaptainCirion Posted May 7, 2010 Share Posted May 7, 2010 Hello there, i ve got an exiting question for all those who claim the title for being a Scripter :)!!!im somehow new on with scripting for TESIV and OBSE but not new with the topic of scripting and programming at all.but i need some help with a mod i like to start! Heres the Problem: for changing the animation of the player i need to know (via command / funktion / whatever) if the player attacks or powerattacks and which direction is triggered (stab / slash left or right and so on).is there any possability?i mean Oblivion gets the control for normal attacks by getting the commands: Up, down, left, right + mousebutton (normaly) powerattacks: Up, down, left, right + mousebutton (normaly) pressed longer OBSE knows numerous commands like those: GetHotkeyItemIsKeyPressed - returns whether the specified key is currently pressed. Uses standard windows key codes.GetMouseButtonPress - returns the dx scancode of the mouse button being pressed. If more than one mouse button is pressed, use whichIndex to choose which code to return will it be possible only this way or any other way to realise this? Spoiler: for those who want to know why I want to know: the mod im working on should work similiar to personal idles and other mods like those, but with the feature for not only idles but also attack animations...therefore ill use a script to read out name, length and type of weapon (blade/blunt). example: player equips item (ID: longtest_spear / reach 2.5 / blade)-> it will set the player idle to a spearmen like (see the enormous mass of animations out there)-> it will change the animation depending on the attack to a weaponfitting move.-> because of this it will be completely modderscompatible I await constructive ideas :P...please help me get this mod working you will make a better oblivion! :) Link to comment Share on other sites More sharing options...
Recommended Posts