Jump to content




Flag Displayer


2 replies to this topic

#1 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 31 May 2016 - 07:48 PM

This is a simple program to display a flag behind a player using particles.
pastebin get FSzi7xKP flag
There is a bit of setup involved. The program requires to APIs, commandsPlus and partTerm. In addition to those two, it reqiures a 49 x 13 image named '.flag' - I have an American Flag (cKBWFrTW).
When you start the program, be sure to stand within 10 blocks of the command computer, so that it may recognize you as the player activating the program. If other players are within that radius, ask them to leave or the program may be confused. Alternatively, edit the program at this line:
local player = commandsPlus.getNearbyPlayers( "10 " )[1]
And add your name, eg:
local player = "KingofGamesYami"
Thanks a ton to BB for his wonderful API partTerm and the assistance he has provided for me in using it.
screenshot

Edited by KingofGamesYami, 31 May 2016 - 08:10 PM.


#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 01 June 2016 - 02:06 PM

View PostKingofGamesYami, on 31 May 2016 - 07:48 PM, said:

Thanks a ton to BB for his wonderful API partTerm and the assistance he has provided for me in using it.

Aw, and here I thought you were writing "capture the flag"... :P

#3 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 01 June 2016 - 02:43 PM

View PostBomb Bloke, on 01 June 2016 - 02:06 PM, said:

Aw, and here I thought you were writing "capture the flag"... :P

Now there's an idea...





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users