Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IF getrawkeypressed(KEY_P)and objectsselected=2
- for n=1 to maxobjects
- if object[n].id=objectmaster
- masterid=object[n].id
- object[n].selected=0
- setobjectcolor(objectmaster,255,0,0,255)
- endif
- if object[n].id=objectslave
- object[n].slave=objectslave
- object[n].master=masterid
- setobjectcolor(objectslave,0,255,0,255)
- object[n].selected=0
- endif
- next n
- objectsselected=0
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement