User Tag List

Results 1 to 2 of 2

Thread: set object position help!!!

  1. #1
    No Products Registered

    Join Date
    Jan 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    set object position help!!!

    hi for all:
    i am trying to make a table game using mooclick. the idea is put to play player 1&2 vs 3&4. The players disposition on the table is different for each net player. it said that:

    Play1 must see: Play2 must see: Play3 must see: Play4 must see:
    ---------2-----------------1------------------4------------------3----
    ------3-----4-----------3-----4------------1-----2------------1-----2-
    base=--1-----------------2------------------3------------------4----


    Positions X,Y:
    ---------2----
    ------3-----4-
    ---------1----
    The Base player is the net player and i am using for this a separate active object than the other player following the mooclik-game sample. i use a array for get the positions x,y for "other players" in this case the 3 positions remains and use other array for get the user orders. it say say that.

    for the case 1 and 2:
    2,3,4
    for the case 3 and 4:
    3,4,2

    for choose the correct order array i am using round(PC_CountUsers/2.00) in the User: On User Here event
    because each player have a different count of "user connected",
    give the following results:

    case 1:
    round(1/2.00)=1
    case 2:
    round(2/2.00)=1
    case 3:
    round(3/2.00)=2
    case 4:
    round(4/2.00)=1


    my big problem is that i can no give a correctly position to the incoming players because the PC_CountUsers in the User: On User Here event count one by one and not give me directly the quantity real of player giving me errs in for the players 3 and 4 where the for the first value give me 1 and for the rest 2 (result of round(PC_CountUsers/2.00)), because PC_CountUsers no count completely all the users.

    i tried put separate the events for the create and give positions to the object players for give the time for count completely the PC_CountUsers but giving me errors when i give the positions to the duplicates of "other players" objects.

    i tried to use spreads for this but i don't understand mush about the concept of this.

    Any help, Thank so Mush

  2. #2
    No Products Registered

    Join Date
    Jan 2008
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: set object position help!!!

    have a err in this section
    case 1:
    round(1/2.00)=1
    case 2:
    round(2/2.00)=1
    case 3:
    round(3/2.00)=2
    the correct is
    case 4:
    round(4/2.00)=2

Similar Threads

  1. getting object position from the fixed value
    By Chokito in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th February 2013, 12:08 PM
  2. How to make an object always stay at a position relative to another object when yo...
    By StardustSpeedman in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 2nd June 2012, 01:13 PM
  3. set position of object to position of rotating object
    By Bogeyman in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 18th March 2012, 03:24 PM
  4. object position
    By Taco in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th July 2007, 06:25 AM
  5. Create object at same position of object destroyed
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 6th November 2006, 12:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •