OnHitByLaser...
6 posts • Page 1 of 1
OnHitByLaser...
How could I make an OnLaserHit script with OnHitByLaser like an (e)=>{OnCollide = OnCollide; ...}? Because i was try but i failed...
Thanks
Thanks
- kevg
- Posts: 3
- Joined: Sat Dec 05, 2009 3:26 pm
Re: OnHitByLaser...
I don't completely understand your question, but it sounds like your asking how to make an OnHitByLaser script... Isn't that already in the script menu? Just make a laser and go to its script menu, it SHOULD be there.
-
Laraso - Posts: 241
- Joined: Tue Sep 01, 2009 12:54 am
- Location: What are you, a stalker?
Re: OnHitByLaser...
No, I want when my laser beam hit a geometry, the geometry has an "OnHitByLaser" script which it didn't have before being hit by the laser...
- kevg
- Posts: 3
- Joined: Sat Dec 05, 2009 3:26 pm
Re: OnHitByLaser...
I don't know if that is possible or not... I can't help you there, sorry.
-
Laraso - Posts: 241
- Joined: Tue Sep 01, 2009 12:54 am
- Location: What are you, a stalker?
Re: OnHitByLaser...
- Code: Select all
e.geom.onHitByLaser=(e)=>{code you want to add}
There.
-
standardtoaster - Posts: 606
- Joined: Mon Aug 31, 2009 7:57 pm
6 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests