Difference between revisions of "Questions"
Jump to navigation
Jump to search
→Getting keystrokes
imported>MaXiMiUS |
imported>Omzy |
||
Line 809: | Line 809: | ||
I'm not sure, but you could check the article [[Key input]]. I'm not sure if it'll be any help, but it has a similar goal to this one. [[User:TheImperialDragon|The Imperial Dragon]] 22:14, 12 June 2006 (EDT) | I'm not sure, but you could check the article [[Key input]]. I'm not sure if it'll be any help, but it has a similar goal to this one. [[User:TheImperialDragon|The Imperial Dragon]] 22:14, 12 June 2006 (EDT) | ||
That article confirmed my fears. Apparently, there is no way to detect when the player presses their block button. I need an alternate method of doing this. I really think there might be a way by determining which animations the player is doing, like blockidle.kf, but does anyone know how to control these? Or even better, apply a script when a specific idle or animation plays.--[[User:Omzy|Omzy]] 23:53, 12 June 2006 (EDT) | |||
== Detecting if a NPC is moving of their own free will? == | == Detecting if a NPC is moving of their own free will? == | ||
For something I'm trying to work on, it would be very useful to tell if the NPC is moving on their own. I need to be able to differentiate between movement, and standing still/getting pushed around. I'm thinking of using GetPos commands for this, but I'm not entirely sure how I should go about it. --[[User:MaXiMiUS|MaXiMiUS]] 23:29, 12 June 2006 (EDT) | For something I'm trying to work on, it would be very useful to tell if the NPC is moving on their own. I need to be able to differentiate between movement, and standing still/getting pushed around. I'm thinking of using GetPos commands for this, but I'm not entirely sure how I should go about it. --[[User:MaXiMiUS|MaXiMiUS]] 23:29, 12 June 2006 (EDT) |