Building & Scripting > Scripting Board

How Do I???

<< < (5/6) > >>

Mordecai:
You are so right, my appologies.
That code was in the TBA codebase not ours.

I have added it to ours now in all 3 ports, they just need a copyover.

Mordecai:

--- Quote ---So the procedure would be to have the first script do:
dg_affect %actor% sleep
--- End quote ---

dg_affect needs :
dg_affect <target> <property> <value> <duration>

So to do SLEEP, where duration is in seconds:
dg_affect %actor% sleep on 300

To remove sleep:
dg_affect %actor% sleep off

Molly:
So, will it be %actor.position(stunned)%, or %actor.pos(stunned) after the copyover?

And here's another question on the topic How do I???:

Is there a way to make a script set Award Points on a player?
I have an idea about adding that to the reward of a couple of the quests with an IC plot. (Especially since our RP Leaders aren't exactly active.).

Diandra:

--- Quote from: Molly on December 10, 2008, 11:17:30 am ---So, will it be %actor.position(stunned)%, or %actor.pos(stunned) after the copyover?

--- End quote ---

Seems both work.

Kvetch:
Ok, a new "How do I?"

How do I: make something load inside something else during particular times?

Note: zedit will let me load things inside other things, but it's there on all reboots/what not.
note: I can load containers at particular times, but what about the stuff inside the containers?

How it will be used:
I want a script that loads baskets of bread, plates of cheese and other things, but only during "dining hours" at other times the table should be empty.  Currently I have a script that loads the bread to the table - but that only allows 1 piece of bread to be taken before there is no more, same for the others and it does it during the times I want.  I've created the baskets and plates and what not, but have come to the stumbling block of loading the objects into the containers.  So... how do I do it? 

I do have a solution that I'd rather not do and that is this:

A wizinvis mob that loads the objects and puts them in the containers at said time.  Let me know if there is any other way.

Thanks,
Kvetchy

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version