|
Development Forum |
 |
| Agents Sticking to Things? | |
|

the1whoscreams
  
|
3/19/2018 | |
The plant I'm working on is supposed to have sticky seeds that cling to the creature or animal that eats it and fall off after a while. How would I do this? I know it's possible, because I remember downloading a plant that did it. |
 Patient Pirate
ylukyun
     Manager
|
3/19/2018 | |
The C3 caterpillars can climb plants. Not exactly the same thing, but looking at the code could be helpful (file should be named something like butterfly.cos). |

Soloontherocks

|
3/20/2018 | |
Isn't this what the game's bacteria do? |
 Peppery One
Papriko
    
|
3/20/2018 | |
You are looking for the FREL command. It will literally just cling to the agent, no smooth tracking like the hoverdoc. You need longer code for that.
However, for a seed the simple FREL sticking is probably better anyway.
And make sure your agent has no gravity n stuff while you do that, otherwise it might fall off the agent into oblivion.
Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis... |