AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   teleportin the bomb? (https://forums.alliedmods.net/showthread.php?t=57859)

nick123 07-13-2007 00:58

teleportin the bomb?
 
how would i be able to teleport the droped bomb(c4) to a new origin when its droped to the floor or something? i tried registerin a touch with my floor ent and weapon_c4 and grenade but it didn't work.. help plz ty in advanced

Ownage 07-13-2007 15:14

Re: teleportin the bomb?
 
items = find_ent_by_model(-1,"weaponbox","models/w_backpack.mdl")

then set the origin

nick123 07-13-2007 15:28

Re: teleportin the bomb?
 
hmm ok but i wanna know if the bomb is droped on a certian entity though.

Rolnaaba 07-13-2007 22:22

Re: teleportin the bomb?
 
FM_Touch, then check if the dropped bomb entity, is touching your entity.
I think FM_Touch is called when the bomb dropps.

nick123 07-14-2007 03:04

Re: teleportin the bomb?
 
i tried almost everything i could think of and yeah i tried that too rolnaaba it's the event that was the problem.. anyways i found a way to catch using VEN's AFK bomb transfer


All times are GMT -4. The time now is 21:31.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.