Also, another quick question; Is there a "scripting version" of onActivate? If so, what is it? onTrigger, right? got it
Use Player::activateStuff instead of armor::onTrigger
If I were to be setting a brick to automatically set events, I would do that? That's what I really need to know...
As for getting the object ID of an item you drop, I'm fairly sure serverCmdDropTool(%client) returns the item object ID that was just made.
hrm. I was thinking that just made you drop the item. But it does that as well.
Do you know what he meant?..
package lerntotryplease{ function serverCmdDropTool(%client) { %item = Parent::serverCmdDropTool(%client); //hey look the item object is %item }};activatePackage(lerntotryplease);
Code: [Select]package lerntotryplease{ function serverCmdDropTool(%client) { %item = Parent::serverCmdDropTool(%client); //hey look the item object is %item }};activatePackage(lerntotryplease);