Development Forum |
|
| Peppery One
Papriko
|
3/27/2010 | |
Hey everybody,
Does anyone know how I can force a creature to pick up a certain agent in a more direct way than URGE WRIT? I already tried it with SPAS, but it just tells me that my TARG is no vehicle.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
AquaShee
|
3/28/2010 | |
To make a non-vehicle agent pick up another agent, just call the pickup script on the agent you wish to pick up.
This will make the ownr of the script pick up the current targ.
Note that there is a lot of stuff you should check before picking the agent up though. Have a look at the creature pickup script in the DS creaturedecisions.cos file.
The Community Scribble: make (y)our own metaroom! |
Peppery One
Papriko
|
3/28/2010 | |
Okay, I'll try that code, thank you.
And of course I'll do some security checks, I don't want my creatures to carry the lemon pod away or something XD
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |
|