creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Development Forum
old
Forced Pickup?   
Papriko
Peppery One

Papriko
Germany  


  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

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.
mesg writ targ 4

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!
 
Papriko
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...
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki