Wintermute Engine > Not a bug

Right/Left double click on 3D actors

(1/1)

FogGobbler:
Hi!

I´ve noticed a possible bug.

The "RightDoubleClick" and "LeftDoubleClick" events don´t seem to work on 3D actors.

Mnemonic:
It does. It just isn't routed by the default scripts.
You'd need to add something like this to game.script:


--- Code: WME Script ---////////////////////////////////////////////////////////////////////////////////on "LeftDoubleClick"{  var ActObj = Game.ActiveObject;  if(ActObj != null) ActObj.ApplyEvent("LeftDoubleClick");} 

FogGobbler:
Hmm, well I added the code to the game.script, but I still can´t get the doubleclick to work on 3D actors. Otherwise the doubleclick works on "normal" region entities.

Mnemonic:
If you add the code to wme demo 3d, it definitely does work. Make sure your actor is interactive.

FogGobbler:
Well, that´s strange, because I´ve taken the WME 3D demo as a starting point. Anyway, I´ll have a look at the scripts again.

Thanks,
Oli

Navigation

[0] Message Index

Go to full version