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:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Transform does not exist in the current context.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Transform does not exist in the current context. (Read 1264 times)
Seiryu33
Full Member
Posts: 135
Transform does not exist in the current context.
«
on:
December 31, 2021, 10:15:38 PM »
So I'm currently trying to create a compass that always points to the current objective. I script I wrote for it works as a C# script, but when i try to use it as Playmaker action it returns an error of "transform does not exist in the current context." See the attached screenshot. It works perfectly fine otherwise. I want it update which the current method doesn't allow for. How do I fix this issue in Playmaker?
Logged
djaydino
Administrator
Hero Member
Posts: 7618
Re: Transform does not exist in the current context.
«
Reply #1 on:
January 01, 2022, 01:33:26 PM »
Hi.
The image is to low resolution to read, can you make a better image or you can use Paste bin and place a link to it in your post
Logged
Join the PlayMaker Discord Channel!
Seiryu33
Full Member
Posts: 135
Re: Transform does not exist in the current context.
«
Reply #2 on:
January 01, 2022, 06:33:53 PM »
I wasn't sure if it would attach at this size. But this is the problem in a nutshell. For some reason, it only returns this error as an FSM.
Logged
djaydino
Administrator
Hero Member
Posts: 7618
Re: Transform does not exist in the current context.
«
Reply #3 on:
January 01, 2022, 09:55:05 PM »
Hi.
There is no object set.
Take a look at the Set Position action for example.
Logged
Join the PlayMaker Discord Channel!
Seiryu33
Full Member
Posts: 135
Re: Transform does not exist in the current context.
«
Reply #4 on:
February 14, 2022, 09:06:37 PM »
Reviving this because I managed to get it to work, but now i have a new problem that ties into this: The Compass won't point down under any circumstance. It'll point up, left and right, but not down. What am I missing in my code?
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Transform does not exist in the current context.