cancel
Showing results for 
Search instead for 
Did you mean: 

Horizon worlds How to get a projectile to hit a specific target and nothing else

daxpowell466
Protege

Hello I have recreated a level from Excalibur 2666 an old playstation game I am haveing trouble with projectiles

 

There are two spells that I have made that use the projectile launcher gizmo to fire an object which is the spell

these are used to remove a barrier or enchant another object made to look like a character 

 

when I use this spell on any interactive object it triggers the affect of the spell how do I make it so the spell only works when it hits the specific target such as the person to enchant with an enchant spell  

2 REPLIES 2

daxpowell466
Protege

HORIZON WORLDS PROJECTILE TARGETING OBJECT DIRECTLY

I think there is a solution 

 

I fount that when I dragged the obj variable into the pill box and checked that it was the same as the object that I was trying to hit such as a target as an example the code seem to work I have now tested and published this project I am unsure how it would work with multiple people on the horizon map I can also try and post the code if needed 

daxpowell466
Protege

Sorry I think I meant to say check if its equal = equal 

obj=targret  

code here

something like this hope this helps