playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out our
Chat Channel
!
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Substituye trees for gameobjects
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Substituye trees for gameobjects (Read 1309 times)
mutoit
Playmaker Newbie
Posts: 25
Substituye trees for gameobjects
«
on:
November 24, 2017, 08:24:47 PM »
hello anyone can help me to understand how to do this ?
the thing is in certain distance, detect this tree ,delete, and make another gameobject for farm, for example.
Thanks
Logged
Fat Pug Studio
Beta Group
Hero Member
Posts: 1294
Re: Substituye trees for gameobjects
«
Reply #1 on:
November 25, 2017, 08:12:09 AM »
You can get distance and compare float every frame, or use conditional expression. When it gets under the threshold, get the tree position, destroy it, and create farm using the tree position.
Logged
Available for Playmaker work
mutoit
Playmaker Newbie
Posts: 25
Re: Substituye trees for gameobjects
«
Reply #2 on:
November 27, 2017, 04:53:08 AM »
could u explain a bit more ? i dont understand how/why i can use floats ,if i want to destroy gameobjects,,,,
Thz
Logged
mutoit
Playmaker Newbie
Posts: 25
Re: Substituye trees for gameobjects
«
Reply #3 on:
November 28, 2017, 07:21:08 AM »
Hello someone making a " farming " game, wood etc, can help me plz
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
»
Substituye trees for gameobjects