[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/vr/ - Retro Games

Search:


View post   

>> No.3043151 [View]
File: 1.53 MB, 720x360, I guess it's my own fault for insisting on doing weird shit all the time.webm [View same] [iqdb] [saucenao] [google]
3043151

Is there a way to make a projectile recognize a certain actor it's colliding with?

I'm trying to make a projectile which normally rips through monsters and returns to the player behave different when it hits the bomb barrel.

Currently the bomb notices the unique damagetype of the projectile and goes to a unique deathstate, it's SUPPOSED to summon the grabbedbomb item, but it doesn't, I believe the pointer gets lost.

So I figure if I can make the projectile be the one that recognizes what's going and spawn the grabbedbomb item, it should realize who it needs to fly to

alternatively I guess I could try a painstate where the bomb is still "alive", have it detect the player, fire the grabbedbomb actor, and THEN die

Navigation
View posts[+24][+48][+96]