Difference between revisions of "Questions"
Jump to navigation
Jump to search
→OnCollide
imported>Treleth |
imported>Gamall |
||
Line 1,385: | Line 1,385: | ||
==OnCollide== | ==OnCollide== | ||
THis is more like 2 questions, first off, is there soemthing like begin OnCollide? I want the script to begin when an arrow hits the wall, how would I go about doing this? Secondly, how do I set the ActorRef to the object hit? For example I hit some random townsperson, how do I set the ActorRef to that person? (NOTE These two questions are for 2 entirely different scripts)[[User:Treleth|Treleth]] 01:04, 22 July 2006 (EDT) | THis is more like 2 questions, first off, is there soemthing like begin OnCollide? I want the script to begin when an arrow hits the wall, how would I go about doing this? Secondly, how do I set the ActorRef to the object hit? For example I hit some random townsperson, how do I set the ActorRef to that person? (NOTE These two questions are for 2 entirely different scripts)[[User:Treleth|Treleth]] 01:04, 22 July 2006 (EDT) | ||
:: [[User:Gamall|Gamall]] 01:22, 22 July 2006 (EDT) : As far as I know, there is no simple way to get an impact point for a spell or an arrow, if they hit a static. | |||
:: If you want to get the actorref of someone you hit with an arrow, you could put a scripted spell effect on the arrow and use getself. |