Questions tagged [targeting]

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, is to select or wish to select an object or entity and to execute some code that has effect on the 'target'.

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, it is the action of selecting an object or entity with one part of the code and do something specific to the 'target'.

In most programming languages we define targets with an 'id' and give it a unique identifier; setting variables that hold a target object, etc. This allows us to then reference it at ease, which allows us to create solutions much more easily.

For example, in CSS we target elements with specific classes or id's and set rules for those to abide by:

.class #id {
    color: #FFF;
}
170 questions
0
votes
1 answer

Targetting Android Mobile Devices (Galaxy S) with CSS

I'm trying to target Android devices with a CSS file, but I've been unsuccessful until now. I'm using the following CSS code: @media only screen and (max-device-width: 800px) { body { max-width: 100%; background-color:#000; } } I'm also…
impakt
  • 1
  • 1
0
votes
1 answer

Targeting all Subclasses and Sprites (cocos2d iPhone)

Ok, I have this main class called Enemy, and inside it I have subclasses of different enemies (ie ZombieEnemy). I need a way to target all sprites/subclasses of Enemy. Ie, for collision detection, I need a way to see if ALL Enemy's are 'dead' to end…
Joethemonkey101
  • 149
  • 2
  • 18
0
votes
0 answers

Unity Missile Script - randomly a missile spirals out of control

I have a homing missile script that seems to work 99% of the time, but every so often one of the missiles will start spiralling out of control and not towards the player. I can't see any reason for it, I can't see a reason for the behaviour in the…
tbr
  • 1
  • 1
0
votes
1 answer

Calling TargetingIdeaService Crashes randomly

Fellow backend-ers, I have a curious problem with using TargetingIdeaService. I am using the normal template that is provided for php and it works. Problem is that sometimes (maybe 1/10) calls ends in crashing my script. I only receive a 500 code…
rcc
  • 5
  • 5
0
votes
1 answer

Build-time errors when targeting device, fine in simulator

I have recently made two Frameworks (Extensions & SpotifyAPI), which are targeting iOS 10 just like my project. My phone is running iOS 12 beta (16A5345f). Xcode is running Version 10.0 beta 6 (10L232m). Here is the project when I target the…
George
  • 25,988
  • 10
  • 79
  • 133
0
votes
2 answers

UE4 Closest enemy targeting

I currently am making a game with UE4 where I have AI players as well as 1 local player. I'm trying to make a Team Deathmatch gamemode. I've got everything done but I have one problem. I need my AIController class to target the nearest 'enemy' (the…
Ruben Versavel
  • 161
  • 2
  • 12
0
votes
1 answer

Disabling a script once target location is reached?

How can I have my enemy disable a script once it reaches target player? I want to reference this script called casting under my GameManager in my code and disable it but I'm unsure how to write the function for when target location is…
user9540087
0
votes
1 answer

mail_to address in seed database (Rails 5)

I have an item in a set of show profiles pages that gives an email from a seeded database:

<%= @admin.email %>

Which needs to be converted into a mail_to tag, similar to this :

<%= mail_to 'info@db.com', "info@db.com" %> What I came…

Boucherie
  • 541
  • 4
  • 20
0
votes
1 answer

Targeting seperate parts of a URL in Optimizely with REGEX

I'm trying to target a set of URLs sharing the same template in Optimizely the https://chillisauce.com/hen/in-dublin/day Specifically trying to target the hen/in- part and the /day part. I've been testing this: /(hen)/in-.*/day[^/]+$ Although when…
Charlie Howes
  • 43
  • 1
  • 1
  • 8
0
votes
1 answer

targeting sprites from a method in the document class - null object reference

I am trying to code a flash app entirely in the document class. I am using GestureWorks with a touch screen. When a user essentially presses a button it calls a method that should hide a specific graphic but not the graphic they…
Freddyk
  • 1
  • 1
0
votes
0 answers

Adobe Target and AEM does not work

Targeting does not work on OTB pages. i created a new activity with adobe target engine, named "test-we-retail" two audiences named "test-chrome-audience", "test-safari-audience" with rules browser equals to chrome, safari respectively. I opened up…
Sri
  • 1,205
  • 2
  • 21
  • 52
0
votes
0 answers

Adobe Target and AEM mbox error - can not read property 'show' of undefined

i am having difficulties in integrating adobe target with AEM AEM 6.3.1 ( 6.3 with Service Pack 1) Uncaught TypeError: Cannot read property 'show' of undefined at Object.showDefaultMboxContent
Sri
  • 1,205
  • 2
  • 21
  • 52
0
votes
2 answers

Mootools - Targeting child elements with an .each selector

I'm trying to target a UL that's inside a LI and I'm having trouble. Here's the HTML:
Mike
0
votes
1 answer

Targeting rules for Beacons are not working

I have about 50 beacons (eddystone, with the google dashboard) and I programmed them all to change their message daily, however more than 2/3 of them just fire off the message any day or time they like which is a problem since the product they are…
0
votes
1 answer

How to get rid of extra breadcrumbs on thumbs pages?

I was wondering if someone might have some insight in removing extra "breadcrumbs" that are the result of actually removing the links in which they would be between. For instance, checkout this page: https://www.shoes.com/elevtd-collection.htm There…