SOL with triggers

For developers using the Construct 2 Javascript SDK

Post » Sat Nov 16, 2013 8:49 pm

EDIT: turns out I was on a general bug with C2, so this is unimportant now

I wrote a trigger condition.

I have an action that triggers the condition, after picking items from a container.

In the trigger event, I pick an item, which should pick all the siblings in the container. Yet it doesn't and I get undefined object errors.

I tried using the "pick all" function to reset the picking but it doesn't help.

I post to see if someone says something like "oh you need to reset the picking when triggering for an action". I have done nothing apart from call the runtime.trigger and noticed weird behaviour. If no-one can help I will try getting it into a smaller example but I am having trouble replicating it at the moment on non-3rd party plugins.
tlarkworthy2013-11-16 21:05:06
B
14
S
5
G
1
Posts: 60
Reputation: 1,052

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 1 guest