OnLaserHit

Discuss things about Phun that don't fit into the other forums.

OnLaserHit

Postby PhunWars » Mon Jun 28, 2010 8:36 pm

Hy guys, I'm having some problems with the onlaserhit script...for example, if I write (e)=>{attraction = 5} and then the laser hits something (let's say a box) that something simply haven't what laser should "give", in this case the attraction....I also tried to type (e)=>{e.other.attraction = 5} on the laser but nothing happens, any ideas on how to solve this ? Am I doing something wrong ? Thanks btw :)
Image
User avatar
PhunWars
 
Posts: 78
Joined: Wed Dec 30, 2009 11:01 pm

Re: OnLaserHit

Postby Chronos » Mon Jun 28, 2010 9:00 pm

If you're using a laser, it needs to be e.geom, not e.other.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: OnLaserHit

Postby PhunWars » Mon Jun 28, 2010 9:07 pm

Perfect, this solves everything (had other problems related to this one), thanks a lot ;)
Image
User avatar
PhunWars
 
Posts: 78
Joined: Wed Dec 30, 2009 11:01 pm

Re: OnLaserHit

Postby cocolover76 » Tue May 10, 2011 10:51 pm

THIS IS PHUN SECTION. NOT ALGODOO SECTION.
Image
cocolover76
 
Posts: 135
Joined: Sun May 08, 2011 10:49 pm

Re: OnLaserHit

Postby Sonic » Tue May 10, 2011 11:42 pm

cocolover76 wrote:THIS IS PHUN SECTION. NOT ALGODOO SECTION.


THIS IS A BUMP! WHY ARE YOU BUMPING SO MUCH?
I do stuff and break things. You know how it is.
Image
User avatar
Sonic
 
Posts: 1467
Joined: Tue Sep 01, 2009 6:18 pm
Location: America!!!

Re: OnLaserHit

Postby TC42 » Tue May 10, 2011 11:49 pm

WHY ARE WE TYPING IN ALL CAPS AND BUMPING TOPICS WHEN WE ARE NOT CONTRIBUTING TO THEM?
Image
Spambot wrote:Nowadays, memes usually are studied less in the field of biology, but more with the arena of psychology along with sociology. But, the major area of a meme, getting embraced and imitated all the time is what’s at any core connected with any meme.
User avatar
TC42
 
Posts: 984
Joined: Sun Jan 09, 2011 1:53 pm
Location: $ sudo apt get-install sandwich_

Re: OnLaserHit

Postby Someone Else » Wed May 11, 2011 5:36 pm

I DON'T KNOW.

GOOD QUESTION.


THIS IS FUN. PHUN. WHATEVER.
Matthias Wandel is epic, in my humble opinion.
I love my brain...
TC42 wrote:Also, your sig is too big, please change it.

ARE YA HAPPY NOW?????

Thymechanic/Phundamentalist

Recently, I discovered something a lot of you probably already knew: Minecraft is awesome.
Due to this, I may not be as active as usual for a while.
User avatar
Someone Else
 
Posts: 1147
Joined: Sun Nov 21, 2010 10:53 pm
Location: The Milky Way Galaxy


Return to Phun Edition in general

Who is online

Users browsing this forum: No registered users and 2 guests

cron