- Joined
- Sep 3, 2009
- Messages
- 458
hmmm well a simple left click on an npc, then a msg should be simple.
well I was thinking the same thing a while back then i thought of something. Using a missile above ground. What you do is you set a real value for a certain doodad. The missile is launched. when it comes in contact with the doodad, check if the height of the missile is less than or equal to the real variable of the doodad. If it is then destroy missile if not let the missile continue it's path. Of course this'll only work if you can check what doodad the missile comes in contact with.
Let's say:
For the Rock Doodad it has a real varibale set to 100
You're above ground, you launch the missile. Missile height is 150
When missile comes near a Rock doodad check if the missile height is less than or equal to the real variable height of the Rock doodad.
Then do actions if true, do actions if false.
Well your free to test it, I'm too lazy -_-
well I was thinking the same thing a while back then i thought of something. Using a missile above ground. What you do is you set a real value for a certain doodad. The missile is launched. when it comes in contact with the doodad, check if the height of the missile is less than or equal to the real variable of the doodad. If it is then destroy missile if not let the missile continue it's path. Of course this'll only work if you can check what doodad the missile comes in contact with.
Let's say:
For the Rock Doodad it has a real varibale set to 100
You're above ground, you launch the missile. Missile height is 150
When missile comes near a Rock doodad check if the missile height is less than or equal to the real variable height of the Rock doodad.
Then do actions if true, do actions if false.
Well your free to test it, I'm too lazy -_-