Difference between revisions of "Talk:IsSneaking - Actor"
Jump to navigation
Jump to search
no edit summary
imported>MaboroshiDaikon |
imported>MaboroshiDaikon |
||
Line 44: | Line 44: | ||
: -- [[User:Cipscis|Cipscis]] 23:11, 10 February 2012 (EST) | : -- [[User:Cipscis|Cipscis]] 23:11, 10 February 2012 (EST) | ||
:I was originally | :I was originally doing the comparison just as you did, but when that didn't work, I switched to the comparison with 1. | ||
:I deleted a bunch of code and comments as I've figured out what the issue is. In short, when activating a horse in sneak mode, the game takes the player out of sneak mode to mount the horse before the OnActivate block on the horse can run. Using a BlockActivation(true) on the horse ahead of time will allow you to properly check the OnSneak condition of the player. Afterwards, you can | :I deleted a bunch of code and comments as I've figured out what the issue is. In short, when activating a horse in sneak mode, the game takes the player out of sneak mode to mount the horse before the OnActivate block on the horse can run. Using a BlockActivation(true) on the horse ahead of time will allow you to properly check the OnSneak condition of the player. Afterwards, you can unblock the activation and activate the horse with the player actor reference to get the player to mount the horse if that is the desired effect. Not sure why the same doesn't apply for IsWeaponDrawn. | ||
: -- [[User:MaboroshiDaikon|MaboroshiDaikon]] 13:21, 12 February 2012 (CST) | : -- [[User:MaboroshiDaikon|MaboroshiDaikon]] 13:21, 12 February 2012 (CST) |