Difference between revisions of "User talk:RedFault"
welcome, thoughts and comments
imported>RedFault m |
imported>Qazaaq (welcome, thoughts and comments) |
||
Line 51: | Line 51: | ||
[[User:RedFault|RedFault]] [[User_Talk:RedFault|Talk]] 14:38, 4 January 2008 (EST) | [[User:RedFault|RedFault]] [[User_Talk:RedFault|Talk]] 14:38, 4 January 2008 (EST) | ||
::Welcome to the Wiki may your contributions be wordy and many! Now on to your question, you are absolutely right in your assumption that you can't attach a script to a static object. The only way to interact with static objects through scripts is by giving the object a Reference Editor ID or by placing the object with [[PlaceAtMe]] and catching the reference there. That doesn't allow you to run an OnTrigger block on the object though. You probably want to make a new Activator object with the TargetHeavy01 model as archery target. | |||
::You might be interested in [[Running Scripts On Arrows|this tutorial]] if haven't seen it already. It explains how to use a trigger zone to run a script on arrows fired by the player, I don't think you'll need it but maybe you'll need to switch methods if the OnTrigger block proves unreliable - I've never used it. | |||
::Something you might want to consider is that the player can fire stolen arrows. While this is not very likely I wouldn't be surprised if someone decides to visit the Imperial Arrow Supply before testing their archery skills. | |||
::I don't know a better way to find out who shot the arrow than [[IsOwner]], but if you're looking for a bit of work you can always match the colliding arrow with the last arrow fired by the player (using the method in the tutorial). I don't think it's worth the effort or the processing power, but that's up to you. | |||
::--[[User:Qazaaq|Qazaaq]] 18:22, 4 January 2008 (EST) |