+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: [E2]FlashBang,Smoke Grenade and Hide Box

  1. #11
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    Well, code for owner would be: return self.owner
    Code to return var would be: return self.vars[varname]

    So it would be slightly faster, but not a real difference. Form before function.

  2. #12
    Wire Sofaking nescalona's Avatar
    Join Date
    Apr 2007
    Location
    Shoreline, Washington
    Posts
    1,299

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    nonsense. real programmers don't care about form! :P

  3. #13
    Wirererer Elmo the Emo Emperor's Avatar
    Join Date
    Feb 2008
    Location
    Lagville(Austrlia)
    Posts
    278

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    I actually remember that post by Cyranide, IIRC, it was recalling a variable be it a number/entity/whatever, takes 2 ops but owner() & entity() only take 1 op. It's really a lot simpler to know what's being affected y what since entity() can only be one thing but E can be anything.

  4. #14
    Wire Noob Middle Thumb's Avatar
    Join Date
    Dec 2009
    Posts
    26

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    i noticed that in your codes, at the end you have anti dupe codes
    if(duped()) {selfDestructAll()} works well unless you have it on a contraption that is in a dupe...
    i find it helpful to use...
    if(owner():steamID()!="<SteamID here>") {selfDestructAll()}

  5. #15
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    Quote Originally Posted by Middle Thumb View Post
    i noticed that in your codes, at the end you have anti dupe codes
    if(duped()) {selfDestructAll()} works well unless you have it on a contraption that is in a dupe...
    i find it helpful to use...
    if(owner():steamID()!="<SteamID here>") {selfDestructAll()}
    That would make it work for noone except him, unless you know any E2 at all and can remove said offending line. It would still defeat the purpose of releasing it. Also bump.

  6. #16
    Wire Noob Middle Thumb's Avatar
    Join Date
    Dec 2009
    Posts
    26

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    yes, you are right, he would be the only one able to use it, but i was saying he could put that in his codes that he wants to release with a # before them and tell people to put in their steam IDs

  7. #17
    aka Colonel Never Online Colonel Thirty Two's Avatar
    Join Date
    Oct 2009
    Posts
    2,683
    Blog Entries
    5

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    Why? The goddam thing is released. Who cares if someone dupes it? It's not yours anyway.

  8. #18
    Wirererer failcake's Avatar
    Join Date
    Jul 2009
    Location
    In Aperture Science Laboratories
    Posts
    298

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    i normaly just leave it there , because im lazy to remove them =P (my bad)

  9. #19
    Wire Noob darkfang5820's Avatar
    Join Date
    Mar 2009
    Posts
    22

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    i love the scanning anim. i might recreate it and implement it into some contraptions (of course ill put u in credits if i release it). thanks for the idea!

  10. #20
    Wirererer failcake's Avatar
    Join Date
    Jul 2009
    Location
    In Aperture Science Laboratories
    Posts
    298

    Default Re: [E2]FlashBang,Smoke Grenade and Hide Box

    Quote Originally Posted by darkfang5820 View Post
    i love the scanning anim. i might recreate it and implement it into some contraptions (of course ill put u in credits if i release it). thanks for the idea!
    lol, no problem

+ Reply to Thread
Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots