View Single Post
ajr1234
Senior Member
Join Date: Mar 2011
Location: Chicago, IL, U.S.A.
Old 02-12-2013 , 11:26   Re: spawn objects
Reply With Quote #5

You can just use TeleportEntity() to teleport the object. You can hook onstarttouch like this:

Code:
HookSingleEntityOutput(entity, "OnStartTouch", ontouch);

public ontouch(const String:output[], caller, activator, Float:delay) 
{ 
}
No need to add a dependency to your plugin.

Last edited by ajr1234; 02-12-2013 at 11:28.
ajr1234 is offline