TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Bug Archives
→
Archives
→
Old Bugs (1.x/2.x)
→
Draw Line Function Broken
Pages:
1
Draw Line Function Broken
alcas
Posts: 28
June 10, 2012, 08:48:31 pm
When i use the drawline method in my if statements, only the first one activates it seems while the other drawline methods are completely null. When I take the drawlines out of the if statements it does work. I've used a kill actor method to check if the if statements are working and yes they all work. What is going on here?
Sunflower
Posts: 591
June 11, 2012, 12:08:12 am
Could you please provide the screen of behaviour? Perhaps it's something with if statements which is wrong? O.o'
Also, check the console during the game (by pressing tilde: ~, which is next to 1, under Escape key, above tab) and try printing some statements in the drawing. It's possible that it'll be spammed with "ERROR: null object" as well. O.o'
alcas
Posts: 28
June 11, 2012, 12:31:29 am
Oh ThankS! I used the tilde button and it gave me a ton of null object references. the problem was that it was trying to kill my button mutiple times in the drawing method.
Pages:
1