functions plugin

Get help using Construct 2

Post » Mon Jul 29, 2013 3:49 am

Hi,

usually when developing using functions I can do this:

function setItems(item = "Can"){
echo item;

}

In Construct 2 is it possible to have that control of function parameters where I can use them as an action like a object e.g.

|system| on start of layout| function shoot(item = "can")|

|On function shoot| param(0)|move Y(200)|

any way to do this thanks or a way to use this
vinstah2013-07-29 03:52:15
B
3
Posts: 6
Reputation: 212

Post » Mon Jul 29, 2013 5:51 am

There's no way to use Sprites (or any objects) by name in expressions in C2. There are few walkarounds for this situation, but still can't call by name.
ImageImageImageImage
B
156
S
64
G
41
Posts: 2,589
Reputation: 34,613


Return to How do I....?

Who is online

Users browsing this forum: Christmas, mekonbekon, morti, R0J0hound, Raging Melon, S1mon, tarek2, waltg and 3 guests