====== containerRayCast ====== ( Point3F start, Point3F end, bitset mask, SceneObject exempt=NULL,exempt2,exempt3,exempt4,exempt5,exempt6 )Cast a ray from start to end, checking for collision against items matching mask. If exempt is specified, then it is temporarily excluded from collision checks (For instance, you might want to exclude the player if said player was firing a weapon.) @returns A string containing either null, if nothing was struck, or these fields: - The ID of the object that was struck. - The x, y, z position that it was struck. - The x, y, z of the normal of the face that was struck. ===== Syntax ===== string containerRayCast(Point3F %start, Point3F %end, bitset %mask[, SceneObject %exempt=NULL, __unk %exempt2, __unk %exempt3, __unk %exempt4, __unk %exempt5, __unk %exempt6]); ===== Parameters ===== [[scripting:doc:engine:types:Point3F|Point3F]] **%%%start%%**\\ No description available. [[scripting:doc:engine:types:Point3F|Point3F]] **%%%end%%**\\ No description available. [[scripting:doc:engine:types:bitset|bitset]] **%%%mask%%**\\ No description available. [optional] [[scripting:doc:engine:types:SceneObject|SceneObject]] **%%%exempt=NULL%%**\\ No description available. [optional] [[scripting:doc:engine:types:__unk|__unk]] **%%%exempt2%%**\\ No description available. [optional] [[scripting:doc:engine:types:__unk|__unk]] **%%%exempt3%%**\\ No description available. [optional] [[scripting:doc:engine:types:__unk|__unk]] **%%%exempt4%%**\\ No description available. [optional] [[scripting:doc:engine:types:__unk|__unk]] **%%%exempt5%%**\\ No description available. [optional] [[scripting:doc:engine:types:__unk|__unk]] **%%%exempt6%%**\\ No description available. ===== Return value ===== [[scripting:doc:engine:types:string|string]]\\ No description available. ===== Remarks ===== ===== Examples ===== ===== Source ===== Engine ===== See also ===== [[scripting:doc:u:u:clientbricksearchnext|ClientBrickSearchNext]]\\ [[scripting:doc:u:u:containerboxclear|containerBoxClear]]\\ [[scripting:doc:u:u:containerboxempty|containerBoxEmpty]]\\ [[scripting:doc:u:u:containersearchcurrdist|containerSearchCurrDist]]\\ [[scripting:doc:u:u:containersearchcurrradiusdist|containerSearchCurrRadiusDist]]\\ [[scripting:doc:u:u:containersearchnext|containerSearchNext]]\\ [[scripting:doc:u:u:initclientbricksearch|initClientBrickSearch]]\\ [[scripting:doc:u:u:initcontainerboxsearch|initContainerBoxSearch]]\\ [[scripting:doc:u:u:initcontainerradiussearch|initContainerRadiusSearch]]\\ ===== References ===== [[scripting:doc:u:player:activatestuff|Player::ActivateStuff]]: Add-Ons/Bot_Hole/packages.cs:495\\ [[scripting:doc:u:aiplayer:hdetectwall|AIPlayer::hDetectWall]]: Add-Ons/Bot_Hole/holes.cs:1568\\ [[scripting:doc:u:fxdtsbrick:spawnholebot|fxDTSBrick::spawnHoleBot]]: Add-Ons/Bot_Hole/holes.cs:1739\\ [[scripting:doc:u:u:hspawnloscheck|hSpawnLOSCheck]]: Add-Ons/Bot_Hole/holes.cs:2009\\ [[scripting:doc:u:u:hloscheck|hLOSCheck]]: Add-Ons/Bot_Hole/holes.cs:2028\\ [[scripting:doc:u:aiplayer:havoidobstacle|AIPlayer::hAvoidObstacle]]: Add-Ons/Bot_Hole/holes.cs:2235\\ [[scripting:doc:u:aiplayer:havoidobstacle|AIPlayer::hAvoidObstacle]]: Add-Ons/Bot_Hole/holes.cs:2279\\ [[scripting:doc:u:aiplayer:havoidobstacle|AIPlayer::hAvoidObstacle]]: Add-Ons/Bot_Hole/holes.cs:2290\\ [[scripting:doc:u:aiplayer:havoidobstacle|AIPlayer::hAvoidObstacle]]: Add-Ons/Bot_Hole/holes.cs:2298\\ [[scripting:doc:u:aiplayer:havoidobstacle|AIPlayer::hAvoidObstacle]]: Add-Ons/Bot_Hole/holes.cs:2332\\ [[scripting:doc:u:fxdtsbrick:vceurelaycallfunction|fxDTSBrick::VCE_relayCallFunction]]: Add-Ons/Event_Variables/server/outputs.cs:2534\\ [[scripting:doc:u:fxdtsbrick:vceucastrelay|fxDTSBrick::VCE_castRelay]]: Add-Ons/Event_Variables/server/outputs.cs:2563\\ [[scripting:doc:u:gameconnection:spectateautocam|GameConnection::spectateAutoCam]]: Add-Ons/Gamemode_Slayer/server/core/GameConnection.cs:767\\ [[scripting:doc:u:redkeyimage:onfire|redKeyImage::onFire]]: Add-Ons/Item_Key/server.cs:123\\ [[scripting:doc:u:u:stealbasketball|stealBasketball]]: Add-Ons/Item_Sports/basketball.cs:86\\ [[scripting:doc:u:player:isgroundedsport|Player::isGroundedSport]]: Add-Ons/Item_Sports/basketball.cs:106\\ [[scripting:doc:u:u:basketballlobcheck|basketballLobCheck]]: Add-Ons/Item_Sports/basketball.cs:535\\ [[scripting:doc:u:u:pickupsportballs|pickupSportBalls]]: Add-Ons/Item_Sports/support.cs:422\\ [[scripting:doc:u:u:detectdoordts|detectDoorDTS]]: Add-Ons/Support_LegacyDoors/conversion.cs:769\\ [[scripting:doc:u:player:ndfired|Player::ndFired]]: Add-Ons/Tool_NewDuplicator/scripts/server/images.cs:189\\ [[scripting:doc:u:u:servercmdgetid|serverCmdGetID]]: base/server/scripts/allGameScripts.cs:5232\\ [[scripting:doc:u:u:servercmdgettransform|serverCmdGetTransform]]: base/server/scripts/allGameScripts.cs:5260\\ [[scripting:doc:u:u:servercmdwarp|serverCmdWarp]]: base/server/scripts/allGameScripts.cs:5511\\ [[scripting:doc:u:u:servercmddropplayeratcamera|serverCmdDropPlayerAtCamera]]: base/server/scripts/allGameScripts.cs:5713\\ [[scripting:doc:u:u:servercmdsetfocalpoint|ServerCmdSetFocalPoint]]: base/server/scripts/allGameScripts.cs:5818\\ [[scripting:doc:u:u:servercmdraypz|serverCmdRayPZ]]: base/server/scripts/allGameScripts.cs:6142\\ [[scripting:doc:u:weaponimage:onfire|WeaponImage::onFire]]: base/server/scripts/allGameScripts.cs:9657\\ [[scripting:doc:u:weaponimage:onfire|WeaponImage::onFire]]: base/server/scripts/allGameScripts.cs:9690\\ [[scripting:doc:u:projectiledata:radiusimpulse|ProjectileData::radiusImpulse]]: base/server/scripts/allGameScripts.cs:10316\\ [[scripting:doc:u:player:activatestuff|Player::ActivateStuff]]: base/server/scripts/allGameScripts.cs:12009\\ [[scripting:doc:u:hammerimage:onfire|hammerImage::onFire]]: base/server/scripts/allGameScripts.cs:13280\\ [[scripting:doc:u:hammerimage:onfire|hammerImage::onFire]]: base/server/scripts/allGameScripts.cs:13282\\ [[scripting:doc:u:wrenchimage:onfire|WrenchImage::onFire]]: base/server/scripts/allGameScripts.cs:13708\\ [[scripting:doc:u:wandimage:onfire|WandImage::onFire]]: base/server/scripts/allGameScripts.cs:15122\\ [[scripting:doc:u:adminwandimage:onfire|AdminWandImage::onFire]]: base/server/scripts/allGameScripts.cs:16251\\ [[scripting:doc:u:fxdtsbrick:getspawnpoint|fxDTSBrick::getSpawnPoint]]: base/server/scripts/allGameScripts.cs:25595\\ [[scripting:doc:u:printgunimage:onfire|PrintGunImage::onFire]]: base/server/scripts/allGameScripts.cs:31024\\ [[scripting:doc:u:player:activatestuff|Player::ActivateStuff]]: base/server/scripts/allGameScripts.cs:34311\\ [[scripting:doc:u:gameconnection:ondeath|GameConnection::onDeath]]: base/server/scripts/game.cs:946\\ [[scripting:doc:u:gameconnection:ondeath|GameConnection::onDeath]]: base/server/scripts/game.cs:947\\ [[scripting:doc:u:gameconnection:ondeath|GameConnection::onDeath]]: base/server/scripts/game.cs:948\\ [[scripting:doc:u:gameconnection:ondeath|GameConnection::onDeath]]: base/server/scripts/game.cs:949\\