[Fixed]1.8.0 eval and onLaserHit

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

[Fixed]1.8.0 eval and onLaserHit

Postby tatt61880 » Sun Oct 10, 2010 5:36 pm

Edit: (by tatt61880 on 2011.10.23 12:11)
Fixed in 2.0.0 RC2. Thanks :clap:
-Tatt
----

Since v1.6.0

The phn-file below has next 2 lines.
(Laser:)
onLaserHit := eval("(e)=>{ print(\"on Laser Hit!\");}");
(Plane:)
onHitByLaser := eval("(e)=>{ print(\"on Hit By Laser!\");}");

In this scene, the laser always hit on plane. So, "on Laser Hit!" and "on Hit By Laser!" should be printed.
However, the text "on Laser Hit!" won't be printed until pressing Enter at onLaserHit text-area in Script menu.

This issue is seen on onLaserHit.
No problem on onHitByLaser / onCollide.
[scene]47181[/scene]

I know this is pretty minor issue but I met this issue when I create my project and want this issue be fixed.
Last edited by tatt61880 on Sun Oct 23, 2011 5:12 am, edited 1 time in total.
Reason: Fixed!
NOTE: I'm not an Algoryx member.
Hi, Algodoo lovers. Have you read next topic? Featured scenes suggestions
To translators: English.cfg changelog will be useful (even for me).
User avatar
tatt61880
[Most Helpful Person 2010]
 
Posts: 1150
Joined: Mon Aug 31, 2009 5:45 pm
Location: Tokyo, Japan

Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 3 guests