First I want to apologize for making a thread like this (I'm guessing you guys get them alot..)
I've been reading around and trying to script for a few days now, and not a single script I've done works.. It's getting on my nerves really.
Here's one of my scripts.. (You'll probably laugh at my stupidity when you see this, but please bear with me.)
void TakeTinder("tinderbox_1", "OnPickup")
{
SetEntityActive("servant_grunt_1", true);
}
What I want this to do is when I pickup the tinderbox a grunt should spawn (or activate).
I'm assuming when guides say things like "string &in asEntity" they want me to replace that text entirely with the entities name? correct me if I'm wrong, I've never found a clear explanation of it.
Some more information to make things clear:
I've named the tinderbox "tinderbox_1". (duh)
I've named the grunt "servant_grunt_1". (duh)
I've written "TakeTinder" without quotations in the tinderbox's CallbackFunc.
The grunt is currently not "active".
The grunt is a hallucination, but that's not the problem as it never actually appears anyways.
That's it for now, I will add information if required.