nephilim 0 Posted November 22, 2004 can anyone help me on that cuz im really cluesless... Share this post Link to post Share on other sites
philcommando 0 Posted November 22, 2004 Havent really experimented on it, but i noticed that for land vehicles, there are points for landcontact LOD, but for sea class vehicles, BIS does not use landcontact LOD at all....... There are scripts that seeks out where the bullets hits on the body ( via the geoLOD or hit points or fire lod?) but could a script find out ............. Soldiers can enter water, walk it in...but once he is immersed in it, he dies. Something to with height - height  = -1.5m? I also noticed that when jeep class 'drives' on water, u cant order them to go anyway unlike tank/ship class where u can still command them to go where u want in the sea.......... Share this post Link to post Share on other sites
nephilim 0 Posted November 22, 2004 hmm didnt the dkm mods commanche had a dust script? yeah right...... i gonna check on that one Share this post Link to post Share on other sites
bn880 5 Posted November 22, 2004 _s= "emptydetector" camcreate [0,0,10] _pos=getpos player _s setpos[_pos select 0, _pos select 1, 0] ?getpos _s select 2<-3.1: {on land};goto"done" {not on land} #done deletevehicle _s Play with the negative number (-3.1) Share this post Link to post Share on other sites
nephilim 0 Posted November 22, 2004 big thx itll come in handy but erm how do i now lets say execute another script/hint when this one is activaed/player is on water? sorry im not that good.... Share this post Link to post Share on other sites
Blanco 0 Posted November 22, 2004 The DKKM choppers use a function to determine it's flying over water or not. You can dl that function + example mission on ofpec http://www.ofpec.com/editors/funcref.php?letter=O#OverWater Note : Works for some reason only on BIS islands and is inaccurate depending on the tides. bn880's method will work aswell. Share this post Link to post Share on other sites
RED 0 Posted November 23, 2004 big thxitll come in handy but erm how do i now lets say execute another script/hint when this one is activaed/player is on water? sorry im not that good.... <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> _s= "emptydetector" camcreate [0,0,10] #loop _pos=getpos player _s setpos[_pos select 0, _pos select 1, 0] ?getpos _s select 2<-3.1: [] exec "on_water.sqs";goto"done" ~1 goto "loop" #done deletevehicle _s exit RED Share this post Link to post Share on other sites