Skyhunter's Recent Forum Activity

  • Well first off, import image crashes construct. whilst import frames in animator does not, which is strange, but anyway i am unable to import a 6400 x 4800 picture into construct, because it becames really slow, actually after i import it, because its rather okay until i delete the first empty frame, and i can barely alt delete and shut it down.

  • Rojohound i just said that i would need atleast 200 events if i were to do that.

    But anyway i found a solution, a subevent with overlap... ill post example if anyone interested.

    Here:

    http://www.mediafire.com/?xmeib98no5o27n6

  • I need to create the objects... mostly because they are weapons that go on player and enemy ships, and can be changed and destroyed without a host ship, and it would be quite good if i could set the value the way that i wanted as shown in the example cause otherwise i would need to make events for all weapons in the game, lets say around 20-30weapons *8 so around 100-200 events... instead of just 8 events this way...

    I mean its quite simple,

    create object by name "kifla",

    set "kifla" value to something,

    but i dont know how to set values based upon the name of the object. Isn't there some python thing or whatnot to do that?

  • I dont understand but it creates the object by the name of the create1 var... the c1 is just so the event doesnt loop. The point is, i want to set the value id to the uid of the sprite to the created object(smiley) ...

    I mean is there a way to change the selected object to the one created within the actions, and giving it a value...

  • it doesnt work it says, system is not an object name

    Tank.value('nameofthecreated').id = Tank.uid

    wait ill make an example...

    http://www.mediafire.com/?w2zrig8ycmos5k3

    ok here you go... as you can see i cannot set the value properly

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • yeah, but how do i give it to the object if i cannot select the object in the actions by name.

  • how do i set value to _???

  • I have used create object by name, and in the same event or subevent, i want to give that object some values.

    Is it possible and how would i do it?

  • Well, your system is ok, but this takes only one event for rotating back with the rotateangle.

    http://www.mediafire.com/?l7lgltjdgrm733b

  • ah sry, i was actually wanting to get rts speed from a family, i forgot to mention that.

    But thanks nevertheles. this helped Unit[RTS].Speed

    Can i pull anything with behavior with [behname] for families?

  • Nevermind, i found a rotateangle in the system expression, and used that. Its basicly what i wanted.

  • yes i did look at it, but thats not the problem, if u set carmovement to your tank, and you have no control over the cannon, its shooting by itself at enemies, when there are no enemies around it should rotate back into neutral position(tank angle)

Skyhunter's avatar

Skyhunter

Member since 14 Sep, 2008

None one is following Skyhunter yet!

Trophy Case

  • 16-Year Club

Progress

16/44
How to earn trophies