User:atrix256 Message: Made it so you can detect collisions from scripts. * Model_SetProperty lets you set a property and a value for the propery on a model such as setting "Enemy" to 1, and "MobID" to whatever the mob id is that owns that model. * Model_GetProperty lets you ask a model what the value of a specific property is * ModelQuery_Rect2D lets you search for models within a rectangle (it ignores height). * ModelQuery_NextResult gives you the next (or first) result from doing a model query so that you can loop through all the results, ask each model about its properties, and respond accordingly. The lightning bolt spell uses this stuff to output text to the console whenever a troll is within range of a lighting bolt. I think you should be G2G on collision testing now Kent but if not let me know! <Files Changed> U ActRaiser/ARRelease.exe U ActRaiser/Scripts/Enemies/OverWorld/Bat.lua U ActRaiser/Scripts/Enemies/OverWorld/Troll.lua U ActRaiser/Scripts/GameOverworld/Level1/index.lua U ActRaiser/Scripts/GameOverworld/PlayerSpell_Lightning.lua U Code/ARRelease.exe U Code/AR_AnimModels.cpp U Code/AR_AnimModels.h U Code/AR_LuaFuncs.cpp U Code/AR_OctTree.cpp U Code/AR_OctTree.h A Code/Docs/Script Help/ModelQuery_NextResult.html A Code/Docs/Script Help/ModelQuery_Rect2D.html A Code/Docs/Script Help/Model_GetProperty.html A Code/Docs/Script Help/Model_SetProperty.html U Code/Docs/Script Help/toc.html U Code/NavMesh.cpp U PirateDice/ARRelease.exe ============================== Project 1 Dev mailing list to unsubscribe, please send an email request to demofox@xxxxxxxxxxx Project 1 website: http://project1.demofox.org Project 1 SVN repository: http://pyotek.com/project1